Baseline Widely Arrays
Array by copy
The toReversed(), toSorted(), toSpliced(), and with() methods of arrays and typed arrays return changed copies of arrays. They stand in contrast to methods such as sort() or reverse() that change arrays in place.
Baseline Status
Widely Available
Since 2023-07-04
First Core Launch
Safari 16
2022-09-12
Core-3 Stability
295d
Last: Firefox (2023-07-04)
BCD Keys Mapped
7
Group: Arrays
Browser Support Timeline
Browser Support Releases
| Browser | Type | Version | Release Date |
|---|---|---|---|
| Safari | desktop | 16 | 2022-09-12 |
| Safari on iOS | mobile | 16 | 2022-09-12 |
| Chrome | desktop | 110 | 2023-02-07 |
| Chrome Android | mobile | 110 | 2023-02-07 |
| Edge | desktop | 110 | 2023-02-09 |
| Firefox | desktop | 115 | 2023-07-04 |
| Firefox for Android | mobile | 115 | 2023-07-04 |
Constituent MDN BCD Keys (Sample)
| BCD Key | Area | Core-3 TTA |
|---|---|---|
| javascript.builtins.Array.toReversed | JS | 295d |
| javascript.builtins.Array.toSorted | JS | 295d |
| javascript.builtins.Array.toSpliced | JS | 295d |
| javascript.builtins.Array.with | JS | 295d |
| javascript.builtins.TypedArray.toReversed | JS | 295d |
| javascript.builtins.TypedArray.toSorted | JS | 295d |
| javascript.builtins.TypedArray.with | JS | 295d |