rearg()
Creates a new wrapper function that will call the original the arguments in a different order.
This function is valid in v2.0.0 to v2.17.1. This function has been downloaded 12 times.fn(a,b,c)
to always be called as fn(c,a,b)
you can supply [2,0,1]
.indices.length
indices
. If Infinity
, no more arguments will be passed no matter how many are sent to the wrapper function. If undefined
, indices.length
will be used.fn
with the arguments in the specified order.This function requires the following function which is included automatically:
slice()