-
Notifications
You must be signed in to change notification settings - Fork 119
/
Copy patharray-by-copy.yml
34 lines (34 loc) · 1.51 KB
/
array-by-copy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Array by copy
description: The `toReserved()`, `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.
spec:
- https://tc39.es/ecma262/multipage/indexed-collections.html#sec-array.prototype.toreversed
- https://tc39.es/ecma262/multipage/indexed-collections.html#sec-array.prototype.tosorted
- https://tc39.es/ecma262/multipage/indexed-collections.html#sec-array.prototype.tospliced
- https://tc39.es/ecma262/multipage/indexed-collections.html#sec-array.prototype.with
- https://tc39.es/ecma262/multipage/indexed-collections.html#sec-%25typedarray%25.prototype.toreversed
- https://tc39.es/ecma262/multipage/indexed-collections.html#sec-%25typedarray%25.prototype.tosorted
- https://tc39.es/ecma262/multipage/indexed-collections.html#sec-%25typedarray%25.prototype.with
snapshot: ecmascript-2023
group:
- arrays
- typed-arrays
status:
baseline: low
baseline_low_date: 2023-07-04
support:
chrome: "110"
chrome_android: "110"
edge: "110"
firefox: "115"
firefox_android: "115"
safari: "16"
safari_ios: "16"
compat_features:
- javascript.builtins.Array.toReversed
- javascript.builtins.Array.toSorted
- javascript.builtins.Array.toSpliced
- javascript.builtins.Array.with
- javascript.builtins.TypedArray.toReversed
- javascript.builtins.TypedArray.toSorted
- javascript.builtins.TypedArray.with
test262: change-array-by-copy