diff --git a/reviews/BordedDev/sudoku.rewrite.js b/reviews/BordedDev/sudoku.rewrite.js index f6371c4..7f0842d 100644 --- a/reviews/BordedDev/sudoku.rewrite.js +++ b/reviews/BordedDev/sudoku.rewrite.js @@ -30,7 +30,7 @@ class SudokuPuzzle extends EventTarget { * * @type {(number|null|undefined)[]} */ - #activeState = new Array(9 * 9) + #activeState = new Array(SUDOKU_GRID_SIZE) /** * @@ -61,7 +61,7 @@ class SudokuPuzzle extends EventTarget { /** * * @param serializedState {string} - * @returns {(?string)[]} + * @returns {((number|null|undefined))[]} */ static #stateFromString(serializedState) { let cellIndex = 0