摘要: 1、(1)push(): 向数组尾部添加一个或多个元素,并返回添加新元素后的数组长度。注意,该方法会改变原数组。 1 var arr1 = [10111, 1101, 111]; 2 console.log(arr1.push(100));//4 返回数组长度 3 console.log(arr1) 阅读全文
posted @ 2020-04-17 17:06 红桃七716 阅读(128) 评论(0) 推荐(0) 编辑