always-return-true-from-ordinary-object.js |
---
es6id: 26.1.12
description: >
Always returns true when target is an ordinary object.
info: |
26.1.12 Reflect.preventExtensions ( target )
...
2. Return target.[[PreventExtensions]]().
9.1.4 [[PreventExtensions]] ( )
1. Set the value of the [[Extensible]] internal slot of O to false.
2. Return true.
features: [Reflect]
--- |
762 |
browser.js |
|
0 |
length.js |
---
es6id: 26.1.12
description: >
Reflect.preventExtensions.length value and property descriptor
includes: [propertyHelper.js]
features: [Reflect]
--- |
449 |
name.js |
---
es6id: 26.1.12
description: >
Reflect.preventExtensions.name value and property descriptor
info: |
26.1.12 Reflect.preventExtensions ( target )
17 ECMAScript Standard Built-in Objects
includes: [propertyHelper.js]
features: [Reflect]
--- |
562 |
not-a-constructor.js |
---
esid: sec-ecmascript-standard-built-in-objects
description: >
Reflect.preventExtensions does not implement [[Construct]], is not new-able
info: |
ECMAScript Function Objects
Built-in function objects that are not identified as constructors do not
implement the [[Construct]] internal method unless otherwise specified in
the description of a particular function.
sec-evaluatenew
...
7. If IsConstructor(constructor) is false, throw a TypeError exception.
...
includes: [isConstructor.js]
features: [Reflect.construct, Reflect, arrow-function]
--- |
941 |
prevent-extensions.js |
---
es6id: 26.1.12
description: >
Prevent extentions on target.
info: |
26.1.12 Reflect.preventExtensions ( target )
...
2. Return target.[[PreventExtensions]]().
9.1.4 [[PreventExtensions]] ( )
1. Set the value of the [[Extensible]] internal slot of O to false.
...
features: [Reflect]
--- |
898 |
preventExtensions.js |
---
es6id: 26.1.12
description: >
Reflect.preventExtensions is configurable, writable and not enumerable.
info: |
26.1.12 Reflect.preventExtensions ( target )
17 ECMAScript Standard Built-in Objects
includes: [propertyHelper.js]
features: [Reflect]
--- |
573 |
return-abrupt-from-result.js |
---
es6id: 26.1.12
description: >
Return abrupt result.
info: |
26.1.12 Reflect.preventExtensions ( target )
...
2. Return target.[[PreventExtensions]]().
features: [Proxy, Reflect]
--- |
547 |
return-boolean-from-proxy-object.js |
---
es6id: 26.1.12
description: >
Returns boolean from Proxy object.
info: |
26.1.12 Reflect.preventExtensions ( target )
...
2. Return target.[[PreventExtensions]]().
9.5.4 [[PreventExtensions]] ( )
8. Let booleanTrapResult be ToBoolean(Call(trap, handler, «target»)).
9. ReturnIfAbrupt(booleanTrapResult).
10. If booleanTrapResult is true, then
a. Let targetIsExtensible be target.[[IsExtensible]]().
b. ReturnIfAbrupt(targetIsExtensible).
c. If targetIsExtensible is true, throw a TypeError exception.
11. Return booleanTrapResult.
features: [Proxy, Reflect]
--- |
1176 |
shell.js |
---
description: |
Test if a given function is a constructor function.
defines: [isConstructor]
features: [Reflect.construct]
--- |
596 |
target-is-not-object-throws.js |
---
es6id: 26.1.10
description: >
Throws a TypeError if target is not an Object.
info: |
26.1.11 Reflect.preventExtensions ( target )
1. If Type(target) is not Object, throw a TypeError exception.
...
features: [Reflect]
--- |
710 |
target-is-symbol-throws.js |
---
es6id: 26.1.10
description: >
Throws a TypeError if target is a Symbol
info: |
26.1.10 Reflect.isExtensible (target)
1. If Type(target) is not Object, throw a TypeError exception.
...
features: [Reflect, Symbol]
--- |
471 |