將二維陣列轉成一維. let arr = [[0, 1], [2, 3], [4, 5]] let newArr = arr.reduce((pre,cur)=>{ return pre.concat(cur) } ...
確定! 回上一頁