javascript,let array1 = [1, 2, 3];,let array2 = [4, 5, 6];,let mergedArray = array1.concat(array2); // [1, 2, 3, 4, 5, 6],// 或者,let mergedArray2 = [...array1, ...array2]; // [1, 2, 3, 4, 5, 6],
``javascript,let array1 = [1, 2, 3];,let array2 = [4, 5, 6];,let mergedArray = array1.concat(array2); // [1, 2, 3, 4, 5, 6],// 或者,let mergedArray2 = [...array1, ...array2]; // [1, 2, 3, 4, 5, 6],
``Powered By Z-BlogPHP 1.7.3