reverse-arguments
reverse the arguments passed to a function.
Last updated 11 years ago by schtoeffel .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install reverse-arguments 
SYNC missed versions from official npm registry.

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'

Current Tags

  • 1.0.0                                ...           latest (11 years ago)

1 Versions

  • 1.0.0                                ...           11 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (0)
None
Dev Dependencies (2)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |