yield

Read More at MDN DocsView Spec

Safe to Use

yield is considered safe to use.

It’s supported by 94% of global browsers.

Browsers

ChromeNov 18, 2014v39.0.0
26%100%
There are no users of Chrome 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.
FirefoxDec 10, 2013v26.0.0
3%100%
100% of Firefox users are running a supported version.

Servers

Node.jsSep 8, 2015v4.0.0
Node.js supports this feature.
DenoMay 4, 2020v1.0.0
Deno supports this feature.

Version Breakdown

 
Agent
Support
Adoption
Chrome
Nov 18, 2014 v39.0.0
26%100%
There are no users of Chrome running a supported version.
Nov 18, 2014 – Latest
v39.0.0+
26%100%

Full Support

Chrome Android
Nov 12, 2014 v39.0.0
36%100%
100% of Chrome Android users are running a supported version.
Nov 12, 2014 – Latest
v39.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
Dec 10, 2013 v26.0.0
3%100%
100% of Firefox users are running a supported version.
Dec 10, 2013 – Latest
v26.0.0+
3%100%

Full Support

Starting with Firefox 33, the parsing of the yield expression has been updated to conform with the ES2015 specification.

Starting with Firefox 29, an IteratorResult object returned for completed generator function.

Firefox for Android
Dec 10, 2013 v26.0.0
Firefox for Android supports this feature.
Dec 10, 2013 – Latest
v26.0.0+

Full Support

Starting with Firefox 33, the parsing of the yield expression has been updated to conform with the ES2015 specification.

Starting with Firefox 29, an IteratorResult object returned for completed generator function.

Internet Explorer
Unsupported
Internet Explorer does not support this feature.

No Support

Node.js
Sep 8, 2015 v4.0.0
Node.js supports this feature.
Sep 8, 2015 – Latest
v4.0.0+

Full Support

Feb 6, 2015 – Latest
v0.12.0+

This feature is behind the --harmony runtime_flag

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

Full Support

Opera
Dec 3, 2014 v26.0.0
1%100%
100% of Opera users are running a supported version.
Dec 3, 2014 – Latest
v26.0.0+
1%100%

Full Support

Opera Android
Dec 2, 2014 v26.0.0
Opera Android supports this feature.
Dec 2, 2014 – Latest
v26.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
Mar 11, 2016 v4.0.0
2%96%
There are no users of Samsung Internet running a supported version.
Mar 11, 2016 – Latest
v4.0.0+
2%96%

Full Support

WebView Android
Nov 12, 2014 v39.0.0
WebView Android supports this feature.
Nov 12, 2014 – Latest
v39.0.0+

Full Support

See Also

Contribute