reverse-arguments

1.0.0 • Public • Published

reverse-arguments

Build Status npm version

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'

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    282,439
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    282,439

Package Sidebar

Install

npm i reverse-arguments

Weekly Downloads

236,493

Version

1.0.0

License

MIT

Last publish

Collaborators

  • schtoeffel