The Iterator constructor is a SpiderMonkey-specific feature. For future-facing usages, consider using for..of loops and the iterator protocol
Summary
The Iterator function.
Properties
Methods
-
next ( )
- Returns an item .
Description
An overview of the usage is available on the Iterators and Generators page.