calls()

Makes multiple calls using the YourJS call() function.

This function is valid in v2.0.0 to v2.6.0. This function has been downloaded 2 times.

Parameters

{*} value
The value to start off with in the calling chain.
{…Array|Function|string=} callArgs Optional
If any of these arguments are strings or functions that will be wrapped in arrays. The items in each array argument will be passed as arguments to YourJS's call() function.

Returns

{*}
Return value of making the specified calls to YourJS's call function in the specified sequence.

Required Functions

This function requires the following functions which are included automatically:

  • call()
    Calls a function whether it be a global prototype function or a YourJS function or a custom bindable.
  • slice()
    Slice does not modify the original array, but instead returns a shallow copy of elements from the original array.
  • typeOf()
    Either gets the type of a value or adds a constructor registering its custom type name.