Skip to content

Commit 3c0b45a

Browse files
Elchi3jamesnw
andauthored
Add Destructuring feature (#2386)
* Add Destructuring feature * Update features/destructuring.yml Co-authored-by: James Stuckey Weber <[email protected]> --------- Co-authored-by: James Stuckey Weber <[email protected]>
1 parent d60d4d8 commit 3c0b45a

File tree

2 files changed

+80
-0
lines changed

2 files changed

+80
-0
lines changed

features/destructuring.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Destructuring
2+
description: The destructuring assignment syntax is a JavaScript expression that unpacks values from arrays, or properties from objects, into distinct variables.
3+
spec:
4+
- https://tc39.es/ecma262/multipage/ecmascript-language-expressions.html#sec-destructuring-assignment
5+
- https://tc39.es/ecma262/multipage/ecmascript-language-statements-and-declarations.html#sec-destructuring-binding-patterns
6+
snapshot: ecmascript-2015
7+
group: javascript
8+
compat_features:
9+
- javascript.operators.destructuring
10+
- javascript.operators.destructuring.computed_property_names
11+
- javascript.operators.destructuring.rest_in_arrays
12+
- javascript.operators.destructuring.rest_in_objects

features/destructuring.yml.dist

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
# Generated from: destructuring.yml
2+
# Do not edit this file by hand. Edit the source file instead!
3+
4+
status:
5+
baseline: high
6+
baseline_low_date: 2020-01-15
7+
baseline_high_date: 2022-07-15
8+
support:
9+
chrome: "60"
10+
chrome_android: "60"
11+
edge: "79"
12+
firefox: "55"
13+
firefox_android: "55"
14+
safari: "11.1"
15+
safari_ios: "11.3"
16+
compat_features:
17+
# baseline: high
18+
# baseline_low_date: 2016-08-02
19+
# baseline_high_date: 2019-02-02
20+
# support:
21+
# chrome: "49"
22+
# chrome_android: "49"
23+
# edge: "14"
24+
# firefox: "41"
25+
# firefox_android: "41"
26+
# safari: "8"
27+
# safari_ios: "8"
28+
- javascript.operators.destructuring
29+
30+
# baseline: high
31+
# baseline_low_date: 2016-09-20
32+
# baseline_high_date: 2019-03-20
33+
# support:
34+
# chrome: "49"
35+
# chrome_android: "49"
36+
# edge: "14"
37+
# firefox: "41"
38+
# firefox_android: "41"
39+
# safari: "10"
40+
# safari_ios: "10"
41+
- javascript.operators.destructuring.computed_property_names
42+
43+
# baseline: high
44+
# baseline_low_date: 2017-10-17
45+
# baseline_high_date: 2020-04-17
46+
# support:
47+
# chrome: "49"
48+
# chrome_android: "49"
49+
# edge: "16"
50+
# firefox: "41"
51+
# firefox_android: "41"
52+
# safari: "9.1"
53+
# safari_ios: "9.3"
54+
- javascript.operators.destructuring.rest_in_arrays
55+
56+
# ⬇️ Same status as overall feature ⬇️
57+
# baseline: high
58+
# baseline_low_date: 2020-01-15
59+
# baseline_high_date: 2022-07-15
60+
# support:
61+
# chrome: "60"
62+
# chrome_android: "60"
63+
# edge: "79"
64+
# firefox: "55"
65+
# firefox_android: "55"
66+
# safari: "11.1"
67+
# safari_ios: "11.3"
68+
- javascript.operators.destructuring.rest_in_objects

0 commit comments

Comments
 (0)