For example, I have a function defined as below:
var fn1 = function(obj, p1, p2) {}
Is it possible to get this function's parameters by the function name fn1 outside fn1?
I want to make a new fn2(p1, p2) dynamically and in this function passing the obj to call fn1?
Anyone help on this? Many thanks.