MDN’s new design is in Beta! A sneak peek: https://blog.mozilla.org/opendesign/mdns-new-design-beta/

Iterator Redirect 1

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.

Document Tags and Contributors

 Last updated by: Sheppy,