PUBLIC

JavaScript Iterable : Object

An iterable object is any object that returns a function that produces an Iterator for its Symbol.iterator property. You can loop over all values in an iterable object by using a for (var value of iterable) { } loop. See Iterator for more details.

Instance Indexers

Returns a function that produces an Iterator for this object.

Example:

Run

Results: