The modern way to deep copy an array in JavaScript is to use structuredClone: array2 = structuredClone(array1);. However, this function is relatively new ( ...
確定! 回上一頁