Files
leporello-js/src/globals.js

41 lines
555 B
JavaScript
Raw Normal View History

2022-09-10 02:48:13 +08:00
export const globals = new Set([
'globalThis',
2022-12-07 05:06:15 +08:00
'Promise',
2022-09-10 02:48:13 +08:00
// TODO Symbol
'URL',
2022-09-10 02:48:13 +08:00
'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",
])