Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    reverse-argumentspublic

    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'

    install

    npm i reverse-arguments

    Downloadsweekly downloads

    8,767

    version

    1.0.0

    license

    MIT

    repository

    githubgithub

    last publish

    collaborators

    • avatar