Skip to content

Commit

Permalink
Update Readme.md to show correct behaviour
Browse files Browse the repository at this point in the history
the numbers will increase!
  • Loading branch information
eastlondoner committed Dec 22, 2016
1 parent 5754b46 commit 2527ebf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ var numbers = SaneGenerator(NumberGenerator());
console.log(numbers.next());
// {"value": 0, "done": false}
console.log(numbers.next());
// {"value": 0, "done": false}
// {"value": 1, "done": false}
console.log(numbers.return(undefined)); // call `return` with any value
// {"done": true}
console.log(numbers.next());
Expand Down

0 comments on commit 2527ebf

Please sign in to comment.