This article needs a technical review. How you can help.
This article covers features introduced in SpiderMonkey 24
Possible standard object prototype types.
Value | Prototype in JavaScript |
---|---|
JSProto_Null |
A Dummy key for invalid prototype. MXR Search for JSProto_Null |
JSProto_Object |
Object MXR Search for JSProto_Object |
JSProto_Function |
Function MXR Search for JSProto_Function |
JSProto_Array |
Array MXR Search for JSProto_Array |
JSProto_Boolean |
Boolean MXR Search for JSProto_Boolean |
JSProto_JSON |
JSON MXR Search for JSProto_JSON |
JSProto_Date |
Date MXR Search for JSProto_Date |
JSProto_Math |
Math MXR Search for JSProto_Math |
JSProto_Number |
Number MXR Search for JSProto_Number |
JSProto_String |
String MXR Search for JSProto_String |
JSProto_RegExp |
RegExp MXR Search for JSProto_RegExp |
JSProto_Error |
Error MXR Search for JSProto_Error |
JSProto_InternalError |
InternalError MXR Search for JSProto_InternalError |
JSProto_EvalError |
EvalError MXR Search for JSProto_EvalError |
JSProto_RangeError |
RangeError MXR Search for JSProto_RangeError |
JSProto_ReferenceError |
ReferenceError MXR Search for JSProto_ReferenceError |
JSProto_SyntaxError |
SyntaxError MXR Search for JSProto_SyntaxError |
JSProto_TypeError |
TypeError MXR Search for JSProto_TypeError |
JSProto_URIError |
URIError MXR Search for JSProto_URIError |
JSProto_Iterator |
Iterator MXR Search for JSProto_Iterator |
JSProto_StopIteration |
StopIteration MXR Search for JSProto_StopIteration |
JSProto_ArrayBuffer |
ArrayBuffer MXR Search for JSProto_ArrayBuffer |
JSProto_Int8Array |
Int8Array MXR Search for JSProto_Int8Array |
JSProto_Uint8Array |
Uint8Array MXR Search for JSProto_Uint8Array |
JSProto_Int16Array |
Int16Array MXR Search for JSProto_Int16Array |
JSProto_Uint16Array |
Uint16Array MXR Search for JSProto_Uint16Array |
JSProto_Int32Array |
Int32Array MXR Search for JSProto_Int32Array |
JSProto_Uint32Array |
Uint32Array MXR Search for JSProto_Uint32Array |
JSProto_Float32Array |
Float32Array MXR Search for JSProto_Float32Array |
JSProto_Float64Array |
Float64Array MXR Search for JSProto_Float64Array |
JSProto_Uint8ClampedArray |
Uint8ClampedArray MXR Search for JSProto_Uint8ClampedArray |
JSProto_Proxy |
Proxy MXR Search for JSProto_Proxy |
JSProto_WeakMap |
WeakMap MXR Search for JSProto_WeakMap |
JSProto_Map |
Map MXR Search for JSProto_Map |
JSProto_Set |
Set MXR Search for JSProto_Set |
JSProto_DataView |
DataView MXR Search for JSProto_DataView |
JSProto_Symbol |
Symbol Added in SpiderMonkey 38MXR Search for JSProto_Symbol |
JSProto_SharedArrayBuffer |
SharedArrayBuffer (Nightly only)MXR Search for JSProto_SharedArrayBuffer |
JSProto_Intl |
Intl MXR Search for JSProto_Intl |
JSProto_TypedObject |
TypedObject (Nightly only)MXR Search for JSProto_TypedObject |
JSProto_GeneratorFunction |
GeneratorFunction Added in SpiderMonkey 31MXR Search for JSProto_GeneratorFunction |
JSProto_SIMD |
SIMD (Nightly only)MXR Search for JSProto_SIMD |
JSProto_WeakSet |
WeakSet Added in SpiderMonkey 38MXR Search for JSProto_WeakSet |
JSProto_SharedInt8Array |
SharedInt8Array (Nightly only)MXR Search for JSProto_SharedInt8Array |
JSProto_SharedUint8Array |
SharedUint8Array (Nightly only)MXR Search for JSProto_SharedUint8Array |
JSProto_SharedInt16Array |
SharedInt16Array (Nightly only)MXR Search for JSProto_SharedInt16Array |
JSProto_SharedUint16Array |
SharedUint16Array (Nightly only)MXR Search for JSProto_SharedUint16Array |
JSProto_SharedInt32Array |
SharedInt32Array (Nightly only)MXR Search for JSProto_SharedInt32Array |
JSProto_SharedUint32Array |
SharedUint32Array (Nightly only)MXR Search for JSProto_SharedUint32Array |
JSProto_SharedFloat32Array |
SharedFloat32Array (Nightly only)MXR Search for JSProto_SharedFloat32Array |
JSProto_SharedFloat64Array |
SharedFloat64Array (Nightly only)MXR Search for JSProto_SharedFloat64Array |
JSProto_SharedUint8ClampedArray |
SharedUint8ClampedArray (Nightly only)MXR Search for JSProto_SharedUint8ClampedArray |
JSProto_TypedArray |
TypedArray Added in SpiderMonkey 38MXR Search for JSProto_TypedArray |
JSProto_Atomics |
Atomics (Nightly only)MXR Search for JSProto_Atomics |
Description
Each of these types corresponds to standard objects in JavaScript. Some of them are Nightly only (depends on each option).
See Also
- bug 789635
- bug 645416 - added
JSProto_Symbol
- bug 769872 - added
JSProto_Intl
- bug 792439 - added
JSProto_WeakSet
- bug 896116 - added
JSProto_TypedArray
- bug 904701 - added
JSProto_GeneratorFunction
- bug 914220 - added
JSProto_TypedObject
- bug 933001 - added
JSProto_SharedArrayBuffer
- bug 946042 - added
JSProto_SIMD
- bug 1054882 - added
JSProto_Shared*Array
s