reverse-arguments
v1.0.0
Published
reverse the arguments passed to a function.
Downloads
772,576
Readme
reverse-arguments
Reverse the arguments passed to the function.
Installation
npm install reverse-arguments
Usage
Basic usage
var reverse = require('reverse-arguments');
function join() {
return Array.prototype.slice.call(arguments).join(',');
}
join(1, 2, 3); // => '1,2,3'
reverse(join)(1, 2, 3); // => '3,2,1'