摘要:
function add(a,b){ return a+b } 箭头函数的写法: (a,b)=>{ return a+b } 如用箭头函数进行数组的升序和降序 let arr = [10, 20, 1, 2]; arr.sort((x,y)=>{ return (y-x) }) Console.lo 阅读全文
posted @ 2018-12-27 16:45
realman?
阅读(1153)
评论(0)
推荐(0)
摘要:
阅读全文
posted @ 2018-12-27 09:15
realman?
阅读(448)
评论(0)
推荐(0)
摘要:
阅读全文
posted @ 2018-12-27 09:14
realman?
阅读(114)
评论(0)
推荐(0)

浙公网安备 33010602011771号