calls()

Makes multiple calls using the YourJS call() function.

This function is valid in v2.19.0 to v2.24.3. This function has been downloaded 43 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 directly 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.
  • nativeType()
    Gets the native type name of a primitive or an object. Unlike YourJS.typeOf(), the types are solely determined by the system.
  • slice()
    Slice does not modify the original array, but instead returns a shallow copy of elements from the original array.