Return an array from an array-like object.
$ component install hkjels/object-to-array
var toArray = require('object-to-array');
function outputArgs() {
var args = toArray(arguments);
console.log(args);
}
outputArgs('blah', 'di', 'dah', 4); // Outputs ["blah", "di", "dah", 4]
toArray(arguments) // Returns an array from the object passed.
MIT