Iterator

This article is in need of a technical review.

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: dbruant,