Skip to content

Commit fdc4005

Browse files
committed
Merge pull request immutable-js#9 from nubs/patch-1
Fix reference to oddSquares.
2 parents d3d4ba7 + 2a680a3 commit fdc4005

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ Once the sequence is used, it performs only the work necessary. In this
216216
example, no intermediate arrays are ever created, filter is only called
217217
twice, and map is only called once:
218218

219-
console.log(evenSquares.last()); // 49
219+
console.log(oddSquares.last()); // 49
220220

221221
Lazy Sequences allow for the efficient chaining of sequence operations, allowing
222222
for the expression of logic that can otherwise be very tedious:

0 commit comments

Comments
 (0)