⚠️ The annual cost of maintaining the server where this website is hosted, the domain, and keeping it up-to-date is approximately €3,000 per year. Help us with a small donation to cover these expenses. Support Now!

0 / 10000
Class ES6Iterator
This isn't a built-in type. It describes the properties an object must have in order to work as an iterator since ECMAScript 2015.
API Versioned:
From version 21.2.
Constructor Summary
This class does not have a constructor, so you cannot create it directly.
Method Summary
next() : Object
Returns an iterator result object.
Method Detail
next() : Object
Returns an iterator result object.
An iterator result object can have two properties: done and value. If done is false or undefined, then the value property contains an iterator value. The value property may not be present if the value would be undefined.
After a call that returns a result where done equals true, all subsequent calls must also return done as true.