TXXT

新手坚持写代码,最后一定会成为老手

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2016年9月3日

摘要: 数组插入元素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 阅读(201) 评论(0) 推荐(0) 编辑