I have a string that has been converted into an 2D Array in js.
It is used to represent a game board
each . represent
Two remarks here:
So if you write board[0][0] = 'X'; then you get the right behavior (and that changes the first character of the string, not the second).
board[0][0] = 'X';