Treat `arguments` as a JavaScript keyword too.

This commit is contained in:
Tony Garnock-Jones 2023-06-09 16:44:34 +02:00
parent 0081e290ca
commit b41c0125b0
1 changed files with 1 additions and 0 deletions

View File

@ -4,6 +4,7 @@ export function isJsKeyword(s: string): boolean {
export const JS_KEYWORDS = new Set([ export const JS_KEYWORDS = new Set([
'abstract', 'abstract',
'arguments',
'await', 'await',
'boolean', 'boolean',
'break', 'break',