let arr = [1,2,3,4,'a']; let arr2=[]; arr.forEach(value=>arr2.push(value));
參考:https://jingyan.baidu.com/article/00a07f38689413c3d128dc4d.html
let arr = [1,2,3,4,'a']; let arr2=[]; arr.forEach(value=>arr2.push(value));
參考:https://jingyan.baidu.com/article/00a07f38689413c3d128dc4d.html