README
args-to-array
Coverts a javascript arguments object into an array
Install
$ npm install --save args-to-array
Usage
var argsToArray = require('args-to-array')
function add (1, 2) {
args = argsToArray(arguments)
// => [1, 2]
...
}
API
-> argsToArray(arguments)array
arguments
Required
Type: object
The javascript arguments object