Dwell
Unfortunately Javascript does not have a reflection api to inspect methods to get list of method arguments. Dwell will help you in inspecting a method or class contructor to get an array of parameters.
var dwell = { } dwell// outputs ['foo','bar']
or for a javascript function
{ }dwell// outputs ['baz']