Converts javascript "arguments" object into array.
Instead of the using the widespread Array.prototype.slice
method, it copies the arguments
items into a real array for better optimization, as explained here (look at the Important alert) and here.
Param | Type | Default | Description |
---|---|---|---|
args | object | the arguments array-like object | |
start | number | 0 | starting index (0-based) |
Fork it and start to edit.
Testing is made with TAPE and tap-spec reporter.
Continuous integration courtesy of Travis CI.