This commit is contained in:
Dmitry Vasilev
2022-09-10 02:48:13 +08:00
commit fad075ad37
45 changed files with 38501 additions and 0 deletions

39
src/globals.js Normal file
View File

@@ -0,0 +1,39 @@
export const globals = new Set([
'globalThis',
// TODO Promise,
// TODO Symbol
'Set',
'Map',
"Infinity",
"NaN",
"undefined",
"Function",
"Object",
"Array",
"Number",
"String",
"Boolean",
"Date",
"Math",
"RegExp",
"JSON",
"Error",
"EvalError",
"RangeError",
"ReferenceError",
"SyntaxError",
"TypeError",
"URIError",
"isNaN",
"isFinite",
"parseFloat",
"parseInt",
"eval",
"escape",
"unescape",
"decodeURI",
"decodeURIComponent",
"encodeURI",
"encodeURIComponent",
"console",
])