Iterator

An Iterator object is an object that conforms to the iterator protocol by providing a next() method that returns an iterator result object. The Iterator.prototype object is a hidden global object that all built-in iterators inherit from. It provides a @@iterator method that returns the iterator object itself, making the iterator also iterable.

Read More at MDN DocsView Spec

Safe to Use

Iterator is considered safe to use.

It’s supported by 94% of global browsers.

Browsers

ChromeOct 7, 2014v38.0.0
26%100%
100% of Chrome users are running a supported version.
SafariSep 20, 2016v10.0.0
5%96%
There are no users of Safari running a supported version.
EdgeJul 28, 2015v12.0.0
5%100%
100% of Edge users are running a supported version.
FirefoxNov 20, 2012v17.0.0
3%100%
100% of Firefox users are running a supported version.

Servers

Node.jsFeb 6, 2015v0.12.0
Node.js supports this feature.
DenoMay 4, 2020v1.0.0
Deno supports this feature.

Version Breakdown

 
Agent
Support
Adoption
Chrome
Oct 7, 2014 v38.0.0
26%100%
100% of Chrome users are running a supported version.
Oct 7, 2014 – Latest
v38.0.0+
26%100%

Full Support

Chrome Android
Oct 8, 2014 v38.0.0
36%100%
100% of Chrome Android users are running a supported version.
Oct 8, 2014 – Latest
v38.0.0+
36%100%

Full Support

Deno
May 4, 2020 v1.0.0
Deno supports this feature.
May 4, 2020 – Latest
v1.0.0+

Full Support

Edge
Jul 28, 2015 v12.0.0
5%100%
100% of Edge users are running a supported version.
Jul 28, 2015 – Latest
v12.0.0+
5%100%

Full Support

Firefox
Nov 20, 2012 v17.0.0
3%100%
100% of Firefox users are running a supported version.
Nov 20, 2012 – Latest
v17.0.0+
3%100%

Full Support

Firefox for Android
Nov 20, 2012 v17.0.0
Firefox for Android supports this feature.
Nov 20, 2012 – Latest
v17.0.0+

Full Support

Internet Explorer
Unsupported
Internet Explorer does not support this feature.

No Support

Node.js
Feb 6, 2015 v0.12.0
Node.js supports this feature.
Feb 6, 2015 – Latest
v0.12.0+

Full Support

 
Quest Browser
Unknown v5.0.0
Quest Browser supports this feature.
Unknown
v5.0.0+

Full Support

Opera
Oct 15, 2014 v25.0.0
1%100%
100% of Opera users are running a supported version.
Oct 15, 2014 – Latest
v25.0.0+
1%100%

Full Support

Opera Android
Oct 16, 2014 v25.0.0
Opera Android supports this feature.
Oct 16, 2014 – Latest
v25.0.0+

Full Support

Safari
Sep 20, 2016 v10.0.0
5%96%
There are no users of Safari running a supported version.
Sep 20, 2016 – Latest
v10.0.0+
5%96%

Full Support

Safari on iOS
Sep 13, 2016 v10.0.0
16%99%
There are no users of Safari on iOS running a supported version.
Sep 13, 2016 – Latest
v10.0.0+
16%99%

Full Support

Samsung Internet
Apr 10, 2015 v3.0.0
2%97%
There are no users of Samsung Internet running a supported version.
Apr 10, 2015 – Latest
v3.0.0+
2%97%

Full Support

WebView Android
Oct 8, 2014 v38.0.0
WebView Android supports this feature.
Oct 8, 2014 – Latest
v38.0.0+

Full Support

See Also

Contribute