February 2018
Intermediate to advanced
298 pages
8h 22m
English
The Reflect.apply() method is used to invoke a function with a given this value. The function invoked by Reflect.apply() is called as the target function. It's the same as the apply() method of the function object. The Reflect.apply() method takes three arguments:
The Reflect.apply() method returns whatever the target function returns. Here is a code example to demonstrate how to use the Reflect.apply() method:
function function_name(a, ...
Read now
Unlock full access