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.

X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this. Privacy Policy.