摘要:
数组插入元素push Array.prototype.push=function(){ for(var i=0;i<arguments.length;i++){ this[this.length]=arguments[i]; } 数组删除第一个元素shift Array.prototype.shif 阅读全文
posted @ 2016-09-03 09:45
TXXT
阅读(207)
评论(0)
推荐(0)
|
摘要:
数组插入元素push Array.prototype.push=function(){ for(var i=0;i<arguments.length;i++){ this[this.length]=arguments[i]; } 数组删除第一个元素shift Array.prototype.shif 阅读全文
posted @ 2016-09-03 09:45
TXXT
阅读(207)
评论(0)
推荐(0)
|