Fixed type parameter
Fixed magic number not using global
This commit is contained in:
		
							parent
							
								
									70a27f1089
								
							
						
					
					
						commit
						a9d1fd2c62
					
				| @ -30,7 +30,7 @@ class SudokuPuzzle extends EventTarget { | |||||||
| 	 * | 	 * | ||||||
| 	 * @type {(number|null|undefined)[]} | 	 * @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} | 	 * @param serializedState {string} | ||||||
| 	 * @returns {(?string)[]} | 	 * @returns {((number|null|undefined))[]} | ||||||
| 	 */ | 	 */ | ||||||
| 	static #stateFromString(serializedState) { | 	static #stateFromString(serializedState) { | ||||||
| 		let cellIndex = 0 | 		let cellIndex = 0 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 BordedDev
						BordedDev