forEach ((x, i)=>a[i] = x*x) console.log(a)//original array modifed ... You would see a lot of map functions around react.js codes, ...
確定! 回上一頁