ES6 新增数组属性concat

//ES6
// 数组.concat(添加的内容);
// 添加的内容可以是数组
// let F68 = [1, 2, 3];
// let F69 = [4, 5, 6];
// // for (let indexNum of F69) {
// // F68.push(indexNum);
// // }
// F68 = F68.concat(F69);
// console.log(F68);

猜你喜欢

转载自www.cnblogs.com/yongjingsong/p/13371802.html