browser.js |
|
0 |
distinct-cross-realm.js |
---
esid: sec-%throwtypeerror%
description: >
%ThrowTypeError% is defined once for each realm.
info: |
%ThrowTypeError% ( )
The %ThrowTypeError% intrinsic is an anonymous built-in function
object that is defined once for each realm.
features: [cross-realm]
--- |
837 |
extensible.js |
---
esid: sec-%throwtypeerror%
description: >
%ThrowTypeError% is not extensible.
info: |
%ThrowTypeError% ( )
The value of the [[Extensible]] internal slot of a %ThrowTypeError%
function is false.
--- |
554 |
forbidden-arguments.js |
---
esid: sec-%throwtypeerror%
description: >
%ThrowTypeError% does not have an own "arguments" property.
info: |
%ThrowTypeError% ( )
The %ThrowTypeError% intrinsic is an anonymous built-in function
object that is defined once for each realm.
16.2 Forbidden Extensions
Other than as defined in this specification, ECMAScript Function
objects defined using syntactic constructors in strict mode code
must not be created with own properties named "caller" or
"arguments" other than those that are created by applying the
AddRestrictedFunctionProperties abstract operation (9.2.7) to
the function. [...] Built-in functions, strict mode functions
created using the Function constructor, generator functions
created using the Generator constructor, and functions created
using the bind method also must not be created with such own
properties.
--- |
1270 |
forbidden-caller.js |
---
esid: sec-%throwtypeerror%
description: >
%ThrowTypeError% does not have an own "caller" property.
info: |
%ThrowTypeError% ( )
The %ThrowTypeError% intrinsic is an anonymous built-in function
object that is defined once for each realm.
16.2 Forbidden Extensions
Other than as defined in this specification, ECMAScript Function
objects defined using syntactic constructors in strict mode code
must not be created with own properties named "caller" or
"arguments" other than those that are created by applying the
AddRestrictedFunctionProperties abstract operation (9.2.7) to
the function. [...] Built-in functions, strict mode functions
created using the Function constructor, generator functions
created using the Generator constructor, and functions created
using the bind method also must not be created with such own
properties.
--- |
1264 |
frozen.js |
---
esid: sec-%throwtypeerror%
description: >
The integrity level of %ThrowTypeError% is "frozen".
info: |
%ThrowTypeError% ( )
The value of the [[Extensible]] internal slot of a %ThrowTypeError%
function is false.
The length property of a %ThrowTypeError% function has the attributes
{ [[Writable]]: false, [[Enumerable]]: false, [[Configurable]]: false }.
--- |
713 |
is-function.js |
---
esid: sec-%throwtypeerror%
description: >
%ThrowTypeError% is a function object.
info: |
%ThrowTypeError% ( )
The %ThrowTypeError% intrinsic is an anonymous built-in function
object that is defined once for each realm.
--- |
570 |
length.js |
---
esid: sec-%throwtypeerror%
description: >
%ThrowTypeError%.length is 0.
info: |
%ThrowTypeError% ( )
The length property of a %ThrowTypeError% function has the attributes
{ [[Writable]]: false, [[Enumerable]]: false, [[Configurable]]: false }.
includes: [propertyHelper.js]
--- |
693 |
name.js |
---
esid: sec-%throwtypeerror%
description: >
%ThrowTypeError% is an anonymous function.
info: |
%ThrowTypeError% ( )
9.2.9.1 %ThrowTypeError% ( )
The %ThrowTypeError% intrinsic is an anonymous built-in function
object that is defined once for each Realm. The `name` property of a
%ThrowTypeError% function has the attributes { [[Writable]]: *false*,
[[Enumerable]]: *false*, [[Configurable]]: *false* }.
17 ECMAScript Standard Built-in Objects:
Every built-in function object, including constructors, has a `name`
property whose value is a String. Functions that are identified as
anonymous functions use the empty string as the value of the `name`
property.
Unless otherwise specified, the `name` property of a built-in function
object has the attributes { [[Writable]]: *false*, [[Enumerable]]: *false*,
[[Configurable]]: *true* }.
includes: [propertyHelper.js]
--- |
1318 |
property-order.js |
---
esid: sec-createbuiltinfunction
description: "%ThrowTypeError% function property order"
info: |
Set order: "length", "name"
--- |
700 |
prototype.js |
---
esid: sec-%throwtypeerror%
description: >
The value of the [[Prototype]] internal slot of %ThrowTypeError% is the
intrinsic object %FunctionPrototype%.
info: |
8.2.2 CreateIntrinsics ( realmRec )
...
6. Let thrower be CreateBuiltinFunction(realmRec, throwerSteps, null).
7. Set intrinsics.[[%ThrowTypeError%]] to thrower.
8. Let noSteps be an empty sequence of algorithm steps.
9. Let funcProto be CreateBuiltinFunction(realmRec, noSteps, objProto).
10. Set intrinsics.[[%FunctionPrototype%]] to funcProto.
11. Call thrower.[[SetPrototypeOf]](funcProto).
...
--- |
948 |
shell.js |
|
0 |
throws-type-error.js |
---
esid: sec-%throwtypeerror%
description: >
%ThrowTypeError% throws a TypeError when called.
info: |
%ThrowTypeError% ( )
When %ThrowTypeError% is called it performs the following steps:
1. Throw a TypeError exception.
--- |
580 |
unique-per-realm-function-proto.js |
---
esid: sec-%throwtypeerror%
description: >
%ThrowTypeError% is defined once for each realm.
info: |
%ThrowTypeError% ( )
The %ThrowTypeError% intrinsic is an anonymous built-in function
object that is defined once for each realm.
--- |
1046 |
unique-per-realm-non-simple.js |
---
esid: sec-%throwtypeerror%
description: >
%ThrowTypeError% is defined once for each realm.
info: |
%ThrowTypeError% ( )
The %ThrowTypeError% intrinsic is an anonymous built-in function
object that is defined once for each realm.
--- |
889 |
unique-per-realm-unmapped-args.js |
---
esid: sec-%throwtypeerror%
description: >
%ThrowTypeError% is defined once for each realm.
info: |
%ThrowTypeError% ( )
The %ThrowTypeError% intrinsic is an anonymous built-in function
object that is defined once for each realm.
--- |
878 |