npm.io
1.0.2 • Published 10 years ago

nexxa-atoa

Licence
MIT
Version
1.0.2
Deps
0
Vulns
0
Weekly
0
DeprecatedThis package is deprecated

atoa Build Status

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.

Reference

Keywords