argnames
v0.0.2
Published
print function arguments with original names
Downloads
9
Readme
#argnames console.log(arguments) replacement
usage:
var argnames = require('argnames');
function test(wow, such, args, here) {
// code code
argnames.dump();
// code.code
}
test('foo', 'bar', 1, {});
prints
{ wow: 'foo',
such: 'bar',
args: 1,
here: {} }
see also
https://github.com/ifit/Argue