File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11'use strict' ;
22
3- import { UtilFuncs } from './UtilFuncs .js' ;
3+ import { Util } from './Util .js' ;
44
55// Constants for the simulation speed,
66// each value represents the how much the solve function will sleep in milliseconds
@@ -50,7 +50,7 @@ class SudokuSolver {
5050 this . sudoku . board [ row ] [ col ] = possibleNum ;
5151
5252 this . renderCell ( `cell-${ row } -${ col } ` , possibleNum ) ;
53- await UtilFuncs . sleep ( this . speed ) ;
53+ await Util . sleep ( this . speed ) ;
5454
5555 if ( await this . solve ( ) ) {
5656 return true ;
Original file line number Diff line number Diff line change 11'use strict' ;
22
3- const UtilFuncs = {
3+ const Util = {
44 /**
55 * Sleeps for a certain number of milliseconds
66 * @param {Number } ms Number of milliseconds to sleep
@@ -16,4 +16,4 @@ const UtilFuncs = {
1616 }
1717}
1818
19- export { UtilFuncs } ;
19+ export { Util } ;
You can’t perform that action at this time.
0 commit comments