Merge pull request #2649 from EmilTholin/alert-global

Add alert, confirm, and prompt to globals
pull/2670/head
Rich Harris 5 years ago committed by GitHub
commit 7b99299691
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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