But with ES6, you can also use the spread operator to duplicate an array... ... Because arrays in JS are reference values, so when you try to copy it using ...
確定! 回上一頁