Add alert, confirm, and prompt to globals

pull/2649/head
Emil Tholin 5 years ago
parent e73084b6af
commit b0e057233c

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

Loading…
Cancel
Save