Merge pull request #2722 from getkey/window-globals

Add `window` and `document` to globals
pull/2726/head
Rich Harris 6 years ago committed by GitHub
commit aa5b52239f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -10,6 +10,7 @@ export const globals = new Set([
'Date',
'decodeURI',
'decodeURIComponent',
'document',
'encodeURI',
'encodeURIComponent',
'Infinity',
@ -31,6 +32,7 @@ export const globals = new Set([
'Set',
'String',
'undefined',
'window',
]);
export const reserved = new Set([

Loading…
Cancel
Save