Array Iterator Method
noun
say it: “uh-RAY IT-uh-ray-ter METH-ud” /əˈreɪ ˈɪtəreɪtər ˈmɛθəd/
A JavaScript array method that goes through the items for you and calls your function on each one, such as forEach(), map(), filter(), find() and reduce().
What is Array Iterator Method in JavaScript?
Array Iterator Method — An Array method that processes items through a callback, such as map, filter, or find.
const scores = [82, 91, 76];
const allPassed = scores.every(score => score >= 70);
In a sentence
- “Instead of writing a loop, I used an array iterator method and passed it a short arrow function.”
Level: Journeyman · More JavaScript terms at this level
Updated