向下函数的代码里面的board[k]报错,我输出后显示undefined,为什么会这样,左上右都是正常的
显示报错是:
index.js:188 Uncaught TypeError: Cannot read properties of undefined (reading '0')
at moveDown (index.js:188:18)
at HTMLBodyElement.<anonymous> (index.js:52:8)
显示报错是:
index.js:188 Uncaught TypeError: Cannot read properties of undefined (reading '0')
at moveDown (index.js:188:18)
at HTMLBodyElement.<anonymous> (index.js:52:8)
2022-02-12
举报