Skip to content

Commit b5f38c7

Browse files
committed
feat: allow new as a reserved keyword
1 parent 9639934 commit b5f38c7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

common/define-grammar.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1049,6 +1049,7 @@ module.exports = function defineGrammar(dialect) {
10491049
'symbol',
10501050
'export',
10511051
'object',
1052+
'new',
10521053
previous
10531054
),
10541055
},

0 commit comments

Comments
 (0)