How to get function parameter names/values dynamically?
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, param2, …. paramN){ // fill an array with the parameter name and value // some other code } Now, how would I get a list of the parameter names and their values … Read more