How to generate a board object with cells and collumn properties filled out correctly?

前端 未结 0 1568
借酒劲吻你
借酒劲吻你 2020-12-08 10:29

I\'m trying to create a function which generates a board.

function createBoard(rowSize, colSize, mineNum) {

  let board = { cells: []}

  let boardSize = row         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题