DEV Community

Discussion on: A Metaphorical Introduction to Functional JavaScript

Collapse
 
ramiyer1998 profile image
Sriram Iyer

Great article, this clarified lots of doubts I had about functional programming in general, let alone FJS on its own.

Quick question, should the first HOF example instead say:

"const divideBy = (x) => (y) => y % x === 0;" ?

Collapse
 
maxwell_dev profile image
Max Antonucci

Ah good catch! Shall fix that now. Glad you liked the article as well!