摘要: 1.push():将数据追加到一个数组的末尾。 2.pop():抛出一个数组末尾的值。 3.shift():移出第一个元素。 3.unshift():移入一个元素到数组的头部。 阅读全文
posted @ 2017-05-16 15:04 奔跑的一楠 阅读(56) 评论(0) 推荐(0)