Old way const oldarray = initarray.slice(); // ES6 way const spreadoperator = [...initarray]; const Arrayfrom = Array.from(initarray);
確定! 回上一頁