Can you elaborate this line of code ? newShipLocation.push(row + “” + (col + i));

后端 未结 0 1639
别跟我提以往
别跟我提以往 2020-12-15 11:21

This generateShip method will generate a random location for ships. But I am stuck with this -> newShipLocation.push(row + "" + (col + i)); Line of code

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