getify / Functional-Light-JS

Pragmatic, balanced FP in JavaScript. @FLJSBook on twitter.
http://FLJSBook.com
Other
16.6k stars 1.96k forks source link

Fix code snippet in Appendix B #212

Closed ealush closed 2 years ago

ealush commented 2 years ago

I believe we're mapping over the x array.

Not strictly a typo, but also, didn't fit into the "open an issue about it" instruction.

getify commented 2 years ago

Those functions take the x as the second parameter.