browser.js |
|
0 |
length.js |
---
es6id: 26.1.11
description: >
Reflect.ownKeys.length value and property descriptor
includes: [propertyHelper.js]
features: [Reflect]
--- |
429 |
name.js |
---
es6id: 26.1.11
description: >
Reflect.ownKeys.name value and property descriptor
info: |
26.1.11 Reflect.ownKeys ( target )
17 ECMAScript Standard Built-in Objects
includes: [propertyHelper.js]
features: [Reflect]
--- |
522 |
not-a-constructor.js |
---
esid: sec-ecmascript-standard-built-in-objects
description: >
Reflect.ownKeys 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]
--- |
893 |
order-after-define-property.js |
---
esid: sec-reflect.ownkeys
description: >
Property names are returned in ascending chronological order of creation
that is unaffected by [[DefineOwnProperty]].
info: |
Reflect.ownKeys ( target )
[...]
2. Let keys be ? target.[[OwnPropertyKeys]]().
3. Return CreateArrayFromList(keys).
OrdinaryOwnPropertyKeys ( O )
[...]
4. For each own property key P of O that is a Symbol, in ascending
chronological order of property creation, do
a. Add P as the last element of keys.
5. Return keys.
[[OwnPropertyKeys]] ( )
[...]
7. For each own property key P of O such that Type(P) is String and P is not
an array index, in ascending chronological order of property creation, do
a. Add P as the last element of keys.
[...]
9. Return keys.
features: [Symbol, Reflect]
includes: [compareArray.js]
--- |
1376 |
ownKeys.js |
---
es6id: 26.1.11
description: >
Reflect.ownKeys is configurable, writable and not enumerable.
info: |
26.1.11 Reflect.ownKeys ( target )
17 ECMAScript Standard Built-in Objects
includes: [propertyHelper.js]
features: [Reflect]
--- |
507 |
return-abrupt-from-result.js |
---
es6id: 26.1.11
description: >
Return abrupt result from target.[[OwnPropertyKeys]]()
info: |
26.1.11 Reflect.ownKeys ( target )
...
2. Let keys be target.[[OwnPropertyKeys]]().
3. ReturnIfAbrupt(keys).
...
features: [Proxy, Reflect]
--- |
584 |
return-array-with-own-keys-only.js |
---
es6id: 26.1.11
description: >
Returns target's own property keys only, ignore prototype keys.
info: |
26.1.11 Reflect.ownKeys ( target )
...
2. Let keys be target.[[OwnPropertyKeys]]().
3. ReturnIfAbrupt(keys).
4. Return CreateArrayFromList(keys).
includes: [compareArray.js]
features: [Reflect]
--- |
659 |
return-empty-array.js |
---
es6id: 26.1.11
description: >
Returns empty array when target has no own properties.
info: |
26.1.11 Reflect.ownKeys ( target )
...
2. Let keys be target.[[OwnPropertyKeys]]().
3. ReturnIfAbrupt(keys).
4. Return CreateArrayFromList(keys).
includes: [compareArray.js]
features: [Reflect]
--- |
598 |
return-non-enumerable-keys.js |
---
es6id: 26.1.11
description: >
Returns target's own non enumerable property keys.
info: |
26.1.11 Reflect.ownKeys ( target )
...
2. Let keys be target.[[OwnPropertyKeys]]().
3. ReturnIfAbrupt(keys).
4. Return CreateArrayFromList(keys).
includes: [compareArray.js]
features: [Reflect]
--- |
886 |
return-on-corresponding-order-large-index.js |
---
esid: sec-ordinaryownpropertykeys
description: >
Returns keys in their corresponding order.
info: |
26.1.11 Reflect.ownKeys ( target )
...
2. Let keys be target.[[OwnPropertyKeys]]().
3. ReturnIfAbrupt(keys).
4. Return CreateArrayFromList(keys).
9.1.12 [[OwnPropertyKeys]] ( )
1. Let keys be a new empty List.
2. For each own property key P of O that is an array index, in ascending
numeric index order
a. Add P as the last element of keys.
3. For each own property key P of O that is a String but is not an array
index, in property creation order
a. Add P as the last element of keys.
4. For each own property key P of O that is a Symbol, in property creation
order
a. Add P as the last element of keys.
5. Return keys.
features: [computed-property-names, Reflect, Symbol]
--- |
2305 |
return-on-corresponding-order.js |
---
es6id: 26.1.11
description: >
Returns keys in their corresponding order.
info: |
26.1.11 Reflect.ownKeys ( target )
...
2. Let keys be target.[[OwnPropertyKeys]]().
3. ReturnIfAbrupt(keys).
4. Return CreateArrayFromList(keys).
9.1.12 [[OwnPropertyKeys]] ( )
1. Let keys be a new empty List.
2. For each own property key P of O that is an integer index, in ascending
numeric index order
a. Add P as the last element of keys.
3. For each own property key P of O that is a String but is not an integer
index, in property creation order
a. Add P as the last element of keys.
4. For each own property key P of O that is a Symbol, in property creation
order
a. Add P as the last element of keys.
5. Return keys.
features: [Reflect, Symbol]
--- |
1399 |
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.11
description: >
Throws a TypeError if target is not an Object.
info: |
26.1.11 Reflect.ownKeys ( target )
1. If Type(target) is not Object, throw a TypeError exception.
...
features: [Reflect]
--- |
660 |
target-is-symbol-throws.js |
---
es6id: 26.1.11
description: >
Throws a TypeError if target is a Symbol
info: |
26.1.11 Reflect.ownKeys ( target )
1. If Type(target) is not Object, throw a TypeError exception.
...
features: [Reflect, Symbol]
--- |
463 |