UNPKG

@kcjpop/x-browser-compat

Version:

A Web Component to display browser compatibility data

1 lines 1.88 kB
{"description":"Arrow functions","mdn_url":"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Functions/Arrow_functions","source_file":"javascript/functions.json","spec_url":"https://tc39.es/ecma262/multipage/ecmascript-language-functions-and-classes.html#sec-arrow-function-definitions","status":{"deprecated":false,"experimental":false,"standard_track":true},"support":{"chrome":{"version_added":"45"},"chrome_android":{"version_added":"45"},"deno":{"version_added":"1.0"},"edge":{"version_added":"12"},"firefox":{"notes":["The initial implementation of arrow functions in Firefox made them automatically strict. This has been changed as of Firefox 24. The use of <code>'use strict';</code> is now required.","Before Firefox 39, a line terminator (<code>\\n</code>) was incorrectly allowed after arrow function arguments. This has been fixed to conform to the ES2015 specification and code like <code>() \\n =&gt; {}</code> will now throw a <code>SyntaxError</code> in this and later versions."],"version_added":"22"},"firefox_android":{"notes":["The initial implementation of arrow functions in Firefox made them automatically strict. This has been changed as of Firefox 24. The use of <code>'use strict';</code> is now required.","Before Firefox 39, a line terminator (<code>\\n</code>) was incorrectly allowed after arrow function arguments. This has been fixed to conform to the ES2015 specification and code like <code>() \\n =&gt; {}</code> will now throw a <code>SyntaxError</code> in this and later versions."],"version_added":"22"},"ie":{"version_added":false},"nodejs":{"version_added":"4.0.0"},"oculus":{"version_added":"5.0"},"opera":{"version_added":"32"},"opera_android":{"version_added":"32"},"safari":{"version_added":"10"},"safari_ios":{"version_added":"10"},"samsunginternet_android":{"version_added":"5.0"},"webview_android":{"version_added":"45"}}}