Name Description Size
browser.js 0
constructor.js --- es6id: 19.5.6.1 description: > ReferenceError is a constructor function. --- 333
instance-proto.js --- es6id: 19.5.6.4 description: > The prototype of ReferenceError instances is ReferenceError.prototype. info: | NativeError instances are ordinary objects that inherit properties from their NativeError prototype object and have an [[ErrorData]] internal slot whose value is undefined --- 543
is-a-constructor.js --- esid: sec-ecmascript-standard-built-in-objects description: > The ReferenceError constructor implements [[Construct]] info: | IsConstructor ( argument ) The abstract operation IsConstructor takes argument argument (an ECMAScript language value). It determines if argument is a function object with a [[Construct]] internal method. It performs the following steps when called: If Type(argument) is not Object, return false. If argument has a [[Construct]] internal method, return true. Return false. includes: [isConstructor.js] features: [Reflect.construct] --- 870
is-error-object.js --- es6id: 19.5.6.4 description: > ReferenceError instances have an [[ErrorData]] internal slot. info: | NativeError instances are ordinary objects that inherit properties from their NativeError prototype object and have an [[ErrorData]] internal slot whose value is undefined --- 535
length.js --- es6id: 19.5.6.2 description: > ReferenceError.length is 1. info: | NativeError ( message ) 19.5.6.2 Properties of the NativeError Constructors Besides the length property (whose value is 1) [...]. 17 ECMAScript Standard Built-in Objects: Every built-in Function object, including constructors, has a length property whose value is an integer. Unless otherwise specified, this value is equal to the largest number of named arguments shown in the subclause headings for the function description, including optional parameters. However, rest parameters shown using the form “...name” are not included in the default argument count. Unless otherwise specified, the length property of a built-in Function object has the attributes { [[Writable]]: false, [[Enumerable]]: false, [[Configurable]]: true }. includes: [propertyHelper.js] --- 1169
name.js --- es6id: 19.5.6.1 description: > ReferenceError.name is "ReferenceError". info: | 17 ECMAScript Standard Built-in Objects: Every built-in Function object, including constructors, that is not identified as an anonymous function has a name property whose value is a String. Unless otherwise specified, the name property of a built-in Function object, if it exists, has the attributes { [[Writable]]: false, [[Enumerable]]: false, [[Configurable]]: true }. includes: [propertyHelper.js] --- 810
prop-desc.js --- esid: sec-constructor-properties-of-the-global-object-referenceerror description: Property descriptor for ReferenceError info: | Every other data property described in clauses 18 through 26 and in Annex B.2 has the attributes { [[Writable]]: true, [[Enumerable]]: false, [[Configurable]]: true } unless otherwise specified. includes: [propertyHelper.js] --- 647
proto-from-ctor-realm.js --- esid: sec-nativeerror description: Default [[Prototype]] value derived from realm of the NewTarget. info: | NativeError ( message ) 1. If NewTarget is undefined, let newTarget be the active function object; else let newTarget be NewTarget. 2. Let O be ? OrdinaryCreateFromConstructor(newTarget, "%NativeErrorPrototype%", « [[ErrorData]] »). ... 4. Return O. OrdinaryCreateFromConstructor ( constructor, intrinsicDefaultProto [ , internalSlotsList ] ) ... 2. Let proto be ? GetPrototypeFromConstructor(constructor, intrinsicDefaultProto). 3. Return ObjectCreate(proto, internalSlotsList). GetPrototypeFromConstructor ( constructor, intrinsicDefaultProto ) ... 3. Let proto be ? Get(constructor, 'prototype'). 4. If Type(proto) is not Object, then a. Let realm be ? GetFunctionRealm(constructor). b. Set proto to realm's intrinsic object named intrinsicDefaultProto. 5. Return proto. features: [cross-realm, Reflect, Symbol] --- 2414
proto.js --- es6id: 19.5.6.2 description: > The prototype of ReferenceError is Error. info: | The value of the [[Prototype]] internal slot of a NativeError constructor is the intrinsic object %Error% (19.5.1). --- 431
prototype
prototype.js --- es6id: 19.5.6.2.1 description: > The initial value of ReferenceError.prototype is the ReferenceError prototype object. info: | The initial value of NativeError.prototype is a NativeError prototype object (19.5.6.3). Each NativeError constructor has a distinct prototype object. This property has the attributes { [[Writable]]: false, [[Enumerable]]: false, [[Configurable]]: false }. includes: [propertyHelper.js] --- 826
shell.js --- description: | Test if a given function is a constructor function. defines: [isConstructor] features: [Reflect.construct] --- 596