Workshop › Sudoku › Step 22 of 28
The fixed puzzle goes: every game now starts with a freshly invented one, and its solution is kept for later.
```js
let solution
function reset() {
const { puzzle, full } = makePuzzle()
grid = puzzle
solution = full
```const { puzzle, full } = makePuzzle() takes both parts of the answer in one line.PUZZLE text is no longer needed and is removed.PUZZLE line.let given, write let solution.reset, replace the first line with the three new lines.Skills: Game states