Skip to content

Commit 1aac41e

Browse files
smorimotohhugo
andauthored
Update ECMASCRIPT.md (#1851)
* Update ECMASCRIPT.md Signed-off-by: Sora Morimoto <sora@morimoto.io> Co-authored-by: Hugo Heuzard <hugo.heuzard@gmail.com>
1 parent 2649782 commit 1aac41e

File tree

1 file changed

+82
-12
lines changed

1 file changed

+82
-12
lines changed

ECMASCRIPT.md

+82-12
Original file line numberDiff line numberDiff line change
@@ -5,35 +5,56 @@ Features are grouped by ECMAScript version.
55

66
## ECMAScript 2015
77

8+
### Arrow function expressions
9+
10+
- [Compatibility](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions#browser_compatibility)
11+
- For Wasm_of_ocaml
12+
813
### Classes
914

1015
- [Compatibility](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes#browser_compatibility)
1116

12-
### Rest parameters
17+
### const
1318

14-
- [Compatibility](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/rest_parameters#browser_compatibility)
19+
- [Compatibility](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/const#browser_compatibility)
1520

16-
### Spread syntax (in function call)
21+
### for...of
1722

18-
- [Compatibility](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Spread_syntax#browser_compatibility)
23+
- [Compatibility](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for...of#browser_compatibility)
24+
25+
### let
26+
27+
- [Compatibility](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/let#browser_compatibility)
28+
29+
### Map
30+
31+
- [Compatibility](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map#browser_compatibility)
32+
- Used in runtime for data structures and object tracking
1933

2034
### Object.assign
2135

2236
- [Compatibility](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign#browser_compatibility)
2337

24-
### Arrow function expressions
38+
### Rest parameters
2539

26-
- [Compatibility](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions#browser_compatibility)
27-
- For Wasm_of_ocaml
40+
- [Compatibility](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/rest_parameters#browser_compatibility)
41+
42+
### Set
43+
44+
- [Compatibility](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set#browser_compatibility)
45+
46+
### Spread syntax (in function call)
47+
48+
- [Compatibility](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Spread_syntax#browser_compatibility)
2849

2950
### TypedArray
3051

3152
- [Compatibility](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray#browser_compatibility)
3253
- To implement bigarray
3354

34-
### Map
55+
### WeakMap
3556

36-
- [Compatibility](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map#browser_compatibility)
57+
- [Compatibility](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap#browser_compatibility)
3758

3859
## ECMAScript 2016
3960

@@ -49,18 +70,27 @@ Features are grouped by ECMAScript version.
4970

5071
## ECMAScript 2020
5172

73+
### BigInt
74+
75+
- [Compatibility](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt#browser_compatibility)
76+
- For Wasm_of_ocaml
77+
5278
### globalThis
5379

5480
- [Compatibility](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/globalThis#browser_compatibility)
5581
- Polyfilled in the repository
5682

57-
### BigInt
83+
### Optional chaining (?.)
5884

59-
- [Compatibility](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt#browser_compatibility)
60-
- For Wasm_of_ocaml
85+
- [Compatibility](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Optional_chaining#browser_compatibility)
6186

6287
## ECMAScript 2021
6388

89+
### FinalizationRegistry
90+
91+
- [Compatibility](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/FinalizationRegistry#browser_compatibility)
92+
- Optional for js_of_ocaml
93+
6494
### WeakRef
6595

6696
- [Compatibility](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakRef#browser_compatibility)
@@ -69,6 +99,26 @@ Features are grouped by ECMAScript version.
6999

70100
## Web APIs
71101

102+
### Canvas API
103+
104+
- [Compatibility](https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API#browser_compatibility)
105+
106+
### Crypto API
107+
108+
- [Compatibility](https://developer.mozilla.org/en-US/docs/Web/API/Crypto#browser_compatibility)
109+
110+
### Document API
111+
112+
- [Compatibility](https://developer.mozilla.org/en-US/docs/Web/API/Document#browser_compatibility)
113+
114+
### Image API
115+
116+
- [Compatibility](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement#browser_compatibility)
117+
118+
### Performance API
119+
120+
- [Compatibility](https://developer.mozilla.org/en-US/docs/Web/API/Performance#browser_compatibility)
121+
72122
### XMLHttpRequest
73123

74124
- [Compatibility](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest#browser_compatibility)
@@ -78,3 +128,23 @@ Features are grouped by ECMAScript version.
78128
### Built-in modules with `node:` prefix
79129

80130
- [Compatibility](https://nodejs.org/docs/latest/api/modules.html#built-in-modules)
131+
132+
### Child process
133+
134+
- [Compatibility](https://nodejs.org/docs/latest/api/child_process.html)
135+
136+
### File system
137+
138+
- [Compatibility](https://nodejs.org/docs/latest/api/fs.html)
139+
140+
### Process
141+
142+
- [Compatibility](https://nodejs.org/docs/latest/api/process.html)
143+
144+
### TTY
145+
146+
- [Compatibility](https://nodejs.org/docs/latest/api/tty.html)
147+
148+
### Util
149+
150+
- [Compatibility](https://nodejs.org/docs/latest/api/util.html)

0 commit comments

Comments
 (0)