20
如何从该函数中获取函数名称?
如何从该函数内部访问函数名称? // parasitic inheritance var ns.parent.child = function() { var parent = new ns.parent(); parent.newFunc = function() { } return parent; } var ns.parent = function() { // at this point, i want to know who the child is that called the parent // ie } var obj = new …
263
javascript
function