Javascript Clone an array. Copy. let arr =["a","b","c"]; // ES6 way const clone = [...arr]; // older method const clone = Array.from(arr);.
確定! 回上一頁