| get.js |
---
es6id: 26.1.6
description: >
Reflect.get is configurable, writable and not enumerable.
info: |
26.1.6 Reflect.get ( target, propertyKey [ , receiver ])
17 ECMAScript Standard Built-in Objects
includes: [propertyHelper.js]
--- |
486 |
- |
| length.js |
---
es6id: 26.1.6
description: >
Reflect.get.length value and property descriptor
info: |
26.1.6 Reflect.get ( target, propertyKey [ , receiver ])
The length property of the get function is 2.
includes: [propertyHelper.js]
--- |
598 |
- |
| name.js |
---
es6id: 26.1.6
description: >
Reflect.get.name value and property descriptor
info: |
26.1.6 Reflect.get ( target, propertyKey [ , receiver ])
17 ECMAScript Standard Built-in Objects
includes: [propertyHelper.js]
--- |
589 |
- |
| return-abrupt-from-property-key.js |
---
es6id: 26.1.6
description: >
Return abrupt from ToPropertyKey(propertyKey)
info: |
26.1.6 Reflect.get ( target, propertyKey [ , receiver ])
...
2. Let key be ToPropertyKey(propertyKey).
3. ReturnIfAbrupt(key).
...
--- |
518 |
- |
| return-abrupt-from-result.js |
---
es6id: 26.1.6
description: >
Return abrupt result from get a property value.
info: |
26.1.6 Reflect.get ( target, propertyKey [ , receiver ])
...
5. Return target.[[Get]](key, receiver).
--- |
660 |
- |
| return-value-from-receiver.js |
---
es6id: 26.1.6
description: >
Return value from a receiver.
info: |
26.1.6 Reflect.get ( target, propertyKey [ , receiver ])
...
4. If receiver is not present, then
a. Let receiver be target.
5. Return target.[[Get]](key, receiver).
9.1.8 [[Get]] (P, Receiver)
...
2. Let desc be O.[[GetOwnProperty]](P).
3. ReturnIfAbrupt(desc).
4. If desc is undefined, then
a. Let parent be O.[[GetPrototypeOf]]().
b. ReturnIfAbrupt(parent).
c. If parent is null, return undefined.
d. Return parent.[[Get]](P, Receiver).
5. If IsDataDescriptor(desc) is true, return desc.[[Value]].
6. Otherwise, IsAccessorDescriptor(desc) must be true so, let getter be
desc.[[Get]].
7. If getter is undefined, return undefined.
8. Return Call(getter, Receiver).
--- |
1305 |
- |
| return-value-from-symbol-key.js |
---
es6id: 26.1.6
description: >
Return value where property key is a symbol.
info: |
26.1.6 Reflect.get ( target, propertyKey [ , receiver ])
...
2. Let key be ToPropertyKey(propertyKey).
...
7.1.14 ToPropertyKey ( argument )
...
3. If Type(key) is Symbol, then
a. Return key.
...
features: [Symbol]
--- |
559 |
- |
| return-value.js |
---
es6id: 26.1.6
description: >
Return value.
info: |
26.1.6 Reflect.get ( target, propertyKey [ , receiver ])
...
4. If receiver is not present, then
a. Let receiver be target.
5. Return target.[[Get]](key, receiver).
9.1.8 [[Get]] (P, Receiver)
...
2. Let desc be O.[[GetOwnProperty]](P).
3. ReturnIfAbrupt(desc).
4. If desc is undefined, then
a. Let parent be O.[[GetPrototypeOf]]().
b. ReturnIfAbrupt(parent).
c. If parent is null, return undefined.
d. Return parent.[[Get]](P, Receiver).
5. If IsDataDescriptor(desc) is true, return desc.[[Value]].
6. Otherwise, IsAccessorDescriptor(desc) must be true so, let getter be
desc.[[Get]].
7. If getter is undefined, return undefined.
8. Return Call(getter, Receiver).
--- |
1634 |
- |
| target-is-not-object-throws.js |
---
es6id: 26.1.6
description: >
Throws a TypeError if target is not an Object.
info: |
26.1.6 Reflect.get ( target, propertyKey [ , receiver ])
1. If Type(target) is not Object, throw a TypeError exception.
...
--- |
643 |
- |
| target-is-symbol-throws.js |
---
es6id: 26.1.6
description: >
Throws a TypeError if target is a Symbol
info: |
26.1.6 Reflect.get ( target, propertyKey [ , receiver ])
1. If Type(target) is not Object, throw a TypeError exception.
...
features: [Symbol]
--- |
454 |
- |