Baseline Widely JS
javascript.functions.arrow_functions
Granular MDN Browser Compat Data support history across 16 tracked browsers.
Specification Area
JS
Standard track
First Core Launch
Firefox 22
2013-06-25
Core-3 Stability
1,183d (3.2y)
Last: Safari (2016-09-20)
Baseline Feature
Widely
Functions
Browser Support Timeline
Notes (4)
Firefox: The initial implementation of arrow functions in Firefox made them automatically strict. This has been changed as of Firefox 24. The use of'use strict'; is now required.Firefox: Before Firefox 39, a line terminator (\n) was incorrectly allowed after arrow function arguments. This has been fixed to conform to the ES2015 specification and code like () \n => {} will now throw a SyntaxError in this and later versions.FF And: The initial implementation of arrow functions in Firefox for Android made them automatically strict. This has been changed as of Firefox for Android 24. The use of 'use strict'; is now required.FF And: Before Firefox for Android 39, a line terminator (\n) was incorrectly allowed after arrow function arguments. This has been fixed to conform to the ES2015 specification and code like () \n => {} will now throw a SyntaxError in this and later versions.Full Browser Compatibility Table
| Browser | Type | Version | Release Date | Status / Caveats |
|---|---|---|---|---|
| Chrome | desktop | 45 | 2015-09-01 | Supported |
| Firefox | desktop | 22 | 2013-06-25 | Supported |
| Safari | desktop | 10 | 2016-09-20 | Supported |
| Edge | desktop | 12 | 2015-07-29 | Supported |
| Chrome Android | mobile | 45 | 2015-09-01 | Supported |
| Firefox for Android | mobile | 22 | 2013-06-25 | Supported |
| Safari on iOS | mobile | 10 | 2016-09-13 | Supported |
| WebView Android | mobile | 45 | 2015-09-01 | Supported |
| WebView on iOS | mobile | 10 | 2016-09-13 | Supported |
| Samsung Browser | mobile | 5.0 | 2016-12-15 | Supported |
| Opera | desktop | 32 | 2015-09-15 | Supported |
| Opera Android | mobile | 32 | 2015-09-23 | Supported |
| Deno | server | 1.0 | 2020-05-13 | Supported |
| Node.js | server | 4.0.0 | 2015-09-08 | Supported |
| Bun | server | 1.0.0 | 2023-09-08 | Supported |
| Quest Browser | xr | 5.0 | 2018-07-01 | Supported |
| Internet Explorer | desktop | — | — | — |