I'm trying to grab an array of string represented parameters from a function and I'm unsure how to proceed. Basically given the function below
function MyFunc(param1, param2, param3){
//do all the things
}
What would the function "getParams" look like to do the following
getParams(MyFunc) // ["param1","param2","param3"]