Returns a function that invokes a provided function with arguments in reverse order.
input function
function context
reverse arguments function
function foo( a, b, c ) { return [ a, b, c ]; } var bar = reverseArguments( foo ); var out = bar( 1, 2, 3 ); // returns [ 3, 2, 1 ]
Returns a function that invokes a provided function with arguments in reverse order.