Did refactoring to put code in another function affect timing in my Javascript Tic-Tac-Toe here?

后端 未结 0 1041
名媛妹妹
名媛妹妹 2021-01-24 10:02

For a TicTacToe game below, everything works well but in the same block of code, I use these lines twice:

      if (playerhasWon()) {
        declareWinner()
             


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