Skip to content
This repository has been archived by the owner on Dec 14, 2018. It is now read-only.
/ atoa Public archive

⚠️ this project is not longer maintained - Arguments object to array

License

Notifications You must be signed in to change notification settings

Nexxa/atoa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

⚠️ this project is not longer maintained - Arguments object to array

Resources

License

Stars

Watchers

Forks

Packages

No packages published