How is the Tic-Tac-Toe board represented in JavaScript?
As the two player score variables.
Only as text inside the HTML cells, with no JavaScript state.
As a nine-element array whose entries are empty strings, X, or O.
X
O
As three Boolean values, one for each row.