On the standards track: Yes
Is Experimental: No
Is Deprecated: No
In Bun version 1.0.0 on 2023-09-08
In Chrome version 20 on 2012-06-26
In Chrome Android version 25 on 2013-02-27
In Deno version 1.0 on 2020-05-13
In Edge version 12 on 2015-07-29
In Firefox version 13 on 2012-06-05 Note: Before Firefox 16, the second parameter, when set to null or undefined, leads to an error instead of being handled as an empty dictionary.
In Firefox for Android version 14 on 2012-06-26 Note: Before Firefox for Android 16, the second parameter, when set to null or undefined, leads to an error instead of being handled as an empty dictionary.
In Internet Explorer version 10 on 2012-10-26 Note: IE10 throws InvalidStateError with a TypedArray argument. Consider using MSBuilder as an alternative.
In Node.js version 15.7.0 on 2021-01-26 Note: Before v16.7.0, the endings option was not supported.
In Quest Browser version 5.0 on undefined
In Opera version 12 on 2012-06-14
In Opera Android version 12 on 2012-02-25
In Safari version 6 on 2012-07-25
In Safari on iOS version 6 on 2012-09-10
In Samsung Internet version 1.5 on 2013-09-25
In WebView Android version 4.4 on 2013-12-09
In WebView on iOS version 6 on 2012-09-10