摘要: 1 Array.length // 0到2**32-1 的整数 2 改变数组的长度,可以变换数组的内容 3 a.sort((x,y)=>x-y) // 升序 4 a.sort((x, y)=>y-x) // 降序 5 6 会改变自身的方法: 7 copyWithin、fill、pop、push、reverse、shift、sort、splice、unshift 8 9 类... 阅读全文
posted @ 2017-11-20 23:15 tatelZhang 阅读(387) 评论(0) 推荐(0) 编辑