src/types.js
module.exports = Object.freeze({
// Type Errors
Unknown: 'Unknown',
Getter: 'Getter',
// Value Properties
Infinity: 'Infinity',
NaN: 'NaN',
Undefined: 'Undefined',
Null: 'Null',
// Fundamental Objects
Object: 'Object',
Function: 'Function',
Boolean: 'Boolean',
Symbol: 'Symbol',
Error: 'Error',
// Numbers and Dates
Number: 'Number',
BigInt: 'BigInt',
Date: 'Date',
// Text Processing
String: 'String',
RegExp: 'RegExp',
// Indexed Collections
Array: 'Array',
Int8Array: 'Int8Array',
Uint8Array: 'Uint8Array',
Uint8ClampedArray: 'Uint8ClampedArray',
Int16Array: 'Int16Array',
Uint16Array: 'Uint16Array',
Int32Array: 'Int32Array',
Uint32Array: 'Uint32Array',
Float32Array: 'Float32Array',
Float64Array: 'Float64Array',
// Keyed Collections
Map: 'Map',
Set: 'Set',
WeakMap: 'WeakMap',
WeakSet: 'WeakSet',
// Structured Data
ArrayBuffer: 'ArrayBuffer',
SharedArrayBuffer: 'SharedArrayBuffer',
Atomics: 'Atomics',
DataView: 'DataView',
// Control Abstraction Objects
Promise: 'Promise',
Generator: 'Generator',
GeneratorFunction: 'GeneratorFunction',
AsyncFunction: 'AsyncFunction'
})