Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
mattflow committed May 14, 2018
1 parent 670ece1 commit 9f9a2c9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ The function accepts a string or array of 81 elements with `0` representing
an empty box.

```js
var solve = require('@mattflow/sudoku-solver');
var puzzle = '000001200100700045000430700090006300050807020006200090003019000970004006002500000';
var solution = solve(puzzle);
console.log(solution)
const solve = require('@mattflow/sudoku-solver');
const puzzle = '000001200100700045000430700090006300050807020006200090003019000970004006002500000';
const solution = solve(puzzle);
console.log(solution);
// Output -> 745981263138762945629435718297156384354897621816243597583619472971324856462578139
```

Expand Down

0 comments on commit 9f9a2c9

Please sign in to comment.