摘要: push 向数组末尾添加一个或多个元素,并返回数组新的长度 function push(){ for(let i=0;i<arguments.length;i++){ this[this.length] = arguments[i]; } return this.length } Array.pro 阅读全文
posted @ 2020-01-02 21:41 此时此景我想吟诗一首 阅读(804) 评论(0) 推荐(0)