dhgamache/Tic-Tac-Toe-JS — comment on commit dfe71893976cd104bad4795e7c55da7771a369c4
File: tictactoe.js line 5
By marcusphillips:

this is an interesting way of representing the game. You're keeping track of each player's move history, and you don't record the game state (except in the DOM structure, which generally should not be used as a point of reference).

But move history isn't particularly interesting to your use case, and board state is. If it were me, I'd probably have a 'board' object with three rows and three columns, and keep track of the state by updating those values. This isn't necessary though, just a style preference, and yours certainly works fine.