mirror of
https://github.com/leporello-js/leporello-js
synced 2026-01-13 13:04:30 -08:00
populate list of globals from globalThis object
This commit is contained in:
@@ -1,40 +1 @@
|
|||||||
export const globals = new Set([
|
export const globals = new Set(Object.getOwnPropertyNames(globalThis))
|
||||||
'globalThis',
|
|
||||||
'Promise',
|
|
||||||
// TODO Symbol
|
|
||||||
'URL',
|
|
||||||
'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",
|
|
||||||
])
|
|
||||||
|
|||||||
Reference in New Issue
Block a user