Javascript learning notes constructor
Array Constructors Due to the uncertainty of the array's constructors when processing parameters, it is highly recommended to use the [] symbol to create a new array. [1, 2, 3]; // Result: [1, 2, 3]new Array(1, 2, 3); // Result: [1, 2, 3
2025-04-17














