1.0.2 • Published 8 years ago
nexxa-atoa v1.0.2
atoa
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.
API
atoa(args, [start])
Param | Type | Default | Description |
---|---|---|---|
args | object | the arguments array-like object | |
start | number | 0 | starting index (0-based) |
Contribution
Fork it and start to edit.
Testing is made with TAPE and tap-spec reporter.
Continuous integration courtesy of Travis CI.