apply.js |
---
es6id: 26.1.1
description: >
Reflect.apply is configurable, writable and not enumerable.
info: |
26.1.1 Reflect.apply ( target, thisArgument, argumentsList )
17 ECMAScript Standard Built-in Objects
includes: [propertyHelper.js]
features: [Reflect]
--- |
528 |
arguments-list-is-not-array-like-but-still-valid.js |
---
esid: sec-reflect.apply
description: >
Return abrupt if argumentsList is not an ArrayLike object.
info: |
Reflect.apply ( target, thisArgument, argumentsList )
...
Let args be ? CreateListFromArrayLike(argumentsList).
CreateListFromArrayLike (obj [, elementTypes] )
...
If Type(obj) is not Object, throw a TypeError exception.
Let len be ? LengthOfArrayLike(obj).
Let list be a new empty List.
Let index be 0.
Repeat, while index < len,
Let indexName be ! ToString(index).
Let next be ? Get(obj, indexName).
If Type(next) is not an element of elementTypes, throw a TypeError exception.
Append next as the last element of list.
Set index to index + 1.
Return list.
includes: [compareArray.js]
features: [Reflect, arrow-function, Symbol]
--- |
1838 |
arguments-list-is-not-array-like.js |
---
esid: sec-reflect.apply
description: >
Return abrupt if argumentsList is not an ArrayLike object.
info: |
Reflect.apply ( target, thisArgument, argumentsList )
...
Let args be ? CreateListFromArrayLike(argumentsList).
CreateListFromArrayLike (obj [, elementTypes] )
...
If Type(obj) is not Object, throw a TypeError exception.
features: [Reflect, arrow-function, Symbol]
--- |
2207 |
browser.js |
|
0 |
call-target.js |
---
es6id: 26.1.1
description: >
Call target with thisArgument and argumentsList
info: |
26.1.1 Reflect.apply ( target, thisArgument, argumentsList )
...
4. Perform PrepareForTailCall().
5. Return Call(target, thisArgument, args).
features: [Reflect]
--- |
985 |
length.js |
---
es6id: 26.1.1
description: >
Reflect.apply.length value and property descriptor
includes: [propertyHelper.js]
features: [Reflect]
--- |
424 |
name.js |
---
es6id: 26.1.1
description: >
Reflect.apply.name value and property descriptor
info: |
26.1.1 Reflect.apply ( target, thisArgument, argumentsList )
17 ECMAScript Standard Built-in Objects
includes: [propertyHelper.js]
features: [Reflect]
--- |
541 |
not-a-constructor.js |
---
esid: sec-ecmascript-standard-built-in-objects
description: >
Reflect.apply 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]
--- |
906 |
return-target-call-result.js |
---
es6id: 26.1.1
description: >
Return target result
info: |
26.1.1 Reflect.apply ( target, thisArgument, argumentsList )
...
4. Perform PrepareForTailCall().
5. Return Call(target, thisArgument, args).
features: [Reflect]
--- |
517 |
shell.js |
---
description: |
Test if a given function is a constructor function.
defines: [isConstructor]
features: [Reflect.construct]
--- |
596 |
target-is-not-callable-throws.js |
---
es6id: 26.1.1
description: >
Throws a TypeError if `target` is not callable.
info: |
26.1.1 Reflect.apply ( target, thisArgument, argumentsList )
1. If IsCallable(target) is false, throw a TypeError exception.
...
7.2.3 IsCallable ( argument )
1. ReturnIfAbrupt(argument).
2. If Type(argument) is not Object, return false.
3. If argument has a [[Call]] internal method, return true.
4. Return false.
features: [Reflect]
--- |
827 |