Merge pull request #3109 from sveltejs/gh-3064-part-2

add a few more known globals
pull/3114/head
Rich Harris 5 years ago committed by GitHub
commit e924f4d5a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -14,7 +14,9 @@ export const globals = new Set([
'encodeURI',
'encodeURIComponent',
'Error',
'EvalError',
'Infinity',
'InternalError',
'Intl',
'isFinite',
'isNaN',
@ -29,11 +31,16 @@ export const globals = new Set([
'process',
'Promise',
'prompt',
'RangeError',
'ReferenceError',
'RegExp',
'Set',
'String',
'SyntaxError',
'TypeError',
'undefined',
'window',
'URIError',
'window'
]);
export const reserved = new Set([

Loading…
Cancel
Save