标签: javascript arrays loops for-loop
var array = [] for(var outer = 0; outer < maxrows; outer++) { array[outer] = []; for(var inner = 1; inner < maxcells; inner++) { array[outer][inner] = `enter code here`
以此为指导,我将如何创建自生成数组?