exec()

Calls a function and returns it so it can be called again.

This function is valid in v2.1.0 to v2.24.3. This function has been downloaded 60 times.

Parameters

{Function} fn
Function to be called and returned. The return value of this function will be ignored when it is called.
{*=} opt_this Optional
Value referenced by this in evaluation of fn.
{…*=} opt_args Optional
Zero or more arguments to be passed to fn.

Returns

{Function}
After executing fn it will be returned.

Required Function

This function directly requires the following function which is included automatically:

  • slice()
    Slice does not modify the original array, but instead returns a shallow copy of elements from the original array.