add a few more known globals

pull/3109/head
Rich Harris 5 years ago
parent 35001b36cc
commit bdf01d632c

@ -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([

Loading…
Cancel
Save