|
|
@ -2,8 +2,10 @@ import { isIdentifierStart, isIdentifierChar } from 'acorn';
|
|
|
|
import full_char_code_at from './full_char_code_at';
|
|
|
|
import full_char_code_at from './full_char_code_at';
|
|
|
|
|
|
|
|
|
|
|
|
export const globals = new Set([
|
|
|
|
export const globals = new Set([
|
|
|
|
|
|
|
|
'alert',
|
|
|
|
'Array',
|
|
|
|
'Array',
|
|
|
|
'Boolean',
|
|
|
|
'Boolean',
|
|
|
|
|
|
|
|
'confirm',
|
|
|
|
'console',
|
|
|
|
'console',
|
|
|
|
'Date',
|
|
|
|
'Date',
|
|
|
|
'decodeURI',
|
|
|
|
'decodeURI',
|
|
|
@ -24,6 +26,7 @@ export const globals = new Set([
|
|
|
|
'parseInt',
|
|
|
|
'parseInt',
|
|
|
|
'process',
|
|
|
|
'process',
|
|
|
|
'Promise',
|
|
|
|
'Promise',
|
|
|
|
|
|
|
|
'prompt',
|
|
|
|
'RegExp',
|
|
|
|
'RegExp',
|
|
|
|
'Set',
|
|
|
|
'Set',
|
|
|
|
'String',
|
|
|
|
'String',
|
|
|
|