We're looking for a person or people to help audit MDN to find places we could speed up. Is this you or someone you know? Check out the RFP: https://mzl.la/2IHcMiE

Iterator Redirect 1

The Iterator constructor is a SpiderMonkey-specific feature. For future-facing usages, consider using for..of loops and the iterator protocol


The Iterator function.



next ( )
Returns an item .


An overview of the usage is available on the Iterators and Generators page.

Document Tags and Contributors

 Last updated by: Sheppy,