|
|
@ -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'
|
|
|
|
]);
|
|
|
|
]);
|
|
|
|
|
|
|
|
|
|
|
|