args array ![Build Status](https://camo.githubusercontent.com/bd033608e6281c43941fb2ee67c153f4a8187eb5d4b9589097f4b67042b79a56/68747470733a2f2f7472617669732d63692e6f72672f63616c76696e6d657463616c662f6172677361727261792e706e67)
npm install argsarray
simple library to treat function arguments as an array without leaking the arguments object (which is bad), based on something I wrote for PouchDB.
Simple wrap a function in this and the function will always be called with an array of the arguments it was called with.
var myFunc = argsarray(function myFunc(args) {
console.log(args);
});
myFunc(a, b, c);
//[a, b, c];
#license
wtfpl