Skip to content

Commit

Permalink
Fixed README typo
Browse files Browse the repository at this point in the history
Fixes dankogai#27

The forEach function was incorrectly specified as `each` in the README.
  • Loading branch information
atavakoli committed May 13, 2016
1 parent 45db5aa commit bbc6e88
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 @@ -33,7 +33,7 @@ Usage
````
var cmb, a;
cmb = Combinatorics.power(['a','b','c']);
cmb.each(function(a){ console.log(a) });
cmb.forEach(function(a){ console.log(a) });
// []
// ["a"]
// ["b"]
Expand Down

0 comments on commit bbc6e88

Please sign in to comment.