1.0.2 • Published 8 years ago

nexxa-atoa v1.0.2

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

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])

ParamTypeDefaultDescription
argsobjectthe arguments array-like object
startnumber0starting 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