DEV Community

Discussion on: Understanding Array Higher-Order Functions

Collapse
 
tobiobeck profile image
Tobi Obeck

forEach(), map(), filter(), and reduce() are usually called higher-order functions, not iterators.

Iterators and Generators are their own concept in JS:
developer.mozilla.org/en-US/docs/W...

Collapse
 
jessicaiwu profile image
Jessica Iwu

Thank you.