Is there a way to get the function parameter names of a function dynamically?
Let’s say my function looks like this:
function doSomething(param1, par
I don't know how to get a list of the parameters but you can do this to get how many it expects.
alert(doSomething.length);