|
|
|
@ -14,7 +14,9 @@ export const globals = new Set([
|
|
|
|
|
'encodeURI',
|
|
|
|
|
'encodeURIComponent',
|
|
|
|
|
'Error',
|
|
|
|
|
'EvalError',
|
|
|
|
|
'Infinity',
|
|
|
|
|
'InternalError',
|
|
|
|
|
'Intl',
|
|
|
|
|
'isFinite',
|
|
|
|
|
'isNaN',
|
|
|
|
@ -29,11 +31,16 @@ export const globals = new Set([
|
|
|
|
|
'process',
|
|
|
|
|
'Promise',
|
|
|
|
|
'prompt',
|
|
|
|
|
'RangeError',
|
|
|
|
|
'ReferenceError',
|
|
|
|
|
'RegExp',
|
|
|
|
|
'Set',
|
|
|
|
|
'String',
|
|
|
|
|
'SyntaxError',
|
|
|
|
|
'TypeError',
|
|
|
|
|
'undefined',
|
|
|
|
|
'window',
|
|
|
|
|
'URIError',
|
|
|
|
|
'window'
|
|
|
|
|
]);
|
|
|
|
|
|
|
|
|
|
export const reserved = new Set([
|
|
|
|
|