- apply<T, A, R>(target, thisArgument, argumentsList): R
Type Parameters
- T
- A extends readonly any[]
- R
Parameters
- target: ((this: T, ...args: A) => R)
- (this, ...args): R
Returns R
- thisArgument: T
- argumentsList: Readonly<A>
Returns R
- apply(target, thisArgument, argumentsList): any
Returns any
Calls the function with the specified object as the this value and the elements of specified array as the arguments.