摘要: 数组方面 push:向数组尾部增加内容,返回的是新数组的长度。 var arr = [1,2,3]; console.log(arr); var b = arr.push(4); console.log(b); console.log(arr); // [1, 2, 3] // 4 //表示当前数组 阅读全文
posted @ 2017-07-21 16:31 karila 阅读(1695) 评论(0) 推荐(0) 编辑