File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ let keyword = List.fold_left (fun acc x -> StringSet.add x acc)
3535 " this" ; " throw" ; " try" ; " typeof" ;
3636 " var" ; " void" ; " while" ; " with" ;
3737
38- (* reserved for future use *)
38+ (* reserved in ECMAScript 5 *)
3939 " class" ; " enum" ; " export" ; " extends" ; " import" ; " super" ;
4040
4141 " implements" ;" interface" ;
@@ -54,6 +54,13 @@ let keyword = List.fold_left (fun acc x -> StringSet.add x acc)
5454 " undefined" ;
5555 " this" ;
5656
57+ (* also reserved in ECMAScript 3 *)
58+ " abstract" ; " boolean" ; " byte" ; " char" ; " const" ; " double" ;
59+ " final" ; " float" ; " goto" ; " int" ; " long" ; " native" ; " short" ;
60+ " synchronized" ; " throws" ; " transient" ; " volatile" ;
61+
62+ (* also reserved in ECMAScript 6 *)
63+ " await"
5764]
5865
5966
You can’t perform that action at this time.
0 commit comments