要创建一个空的二维数组,可以使用 Array.from 和 Array 构造函数。 const arrayNumbers = Array.from(Array(2), () => new Array(4)); console.log( ...
確定! 回上一頁