Add more globals

pull/4279/head
John Muhl 5 years ago committed by Conduitry
parent 8b9b2c266e
commit 2fd593f9d5

@ -5,6 +5,8 @@ export const globals = new Set([
'alert', 'alert',
'Array', 'Array',
'Boolean', 'Boolean',
'clearInterval',
'clearTimeout',
'confirm', 'confirm',
'console', 'console',
'Date', 'Date',
@ -16,6 +18,9 @@ export const globals = new Set([
'Error', 'Error',
'EvalError', 'EvalError',
'Event', 'Event',
'fetch',
'global',
'globalThis',
'history', 'history',
'Infinity', 'Infinity',
'InternalError', 'InternalError',
@ -41,11 +46,14 @@ export const globals = new Set([
'RegExp', 'RegExp',
'sessionStorage', 'sessionStorage',
'Set', 'Set',
'setInterval',
'setTimeout',
'String', 'String',
'SyntaxError', 'SyntaxError',
'TypeError', 'TypeError',
'undefined', 'undefined',
'URIError', 'URIError',
'URL',
'window' 'window'
]); ]);

Loading…
Cancel
Save