数组方法

//不改变原数组

.concat()

.slice()

.join()

.toString()

.indexOf(item,fromi)

.lastIndexOf()

//改变原数组

.splice()

.sort()

.reverse()

.push()

.pop()

.unshift()

.shift()

 

 

posted on 2018-06-13 11:17  myMaria  阅读(85)  评论(0)    收藏  举报

导航