Retrieves the argument names of a function
npm install get-parameter-names
function foo(bar, baz) {
return bar + baz
}
var get = require('get-parameter-names')
get(foo) // = ['bar', 'baz']
npm test
Retrieves the argument names of a function
npm install get-parameter-names
function foo(bar, baz) {
return bar + baz
}
var get = require('get-parameter-names')
get(foo) // = ['bar', 'baz']
npm test