问答详情
源自:3-3 交互细节

向下函数的代码里面的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)


提问者:慕丝4174061 2022-02-12 23:30

个回答

  • 慕瓜1221391
    2022-11-23 13:48:45

    把代码片段贴出来看看

    • 搜索
    • 复制