JavaScript 深拷貝(deep copy)和淺拷貝(shallow copy) ... 使用array.slice() 或者array.slice(0) 你可以得到原陣列的拷貝。
確定! 回上一頁