When we need to copy an array, we often time used `slice`. But with ES6, you can also use the spread operator to duplicate an array...
確定! 回上一頁