How can I access a function name from inside that function?
// parasitic inheritance var ns.parent.child = function() { var parent = new ns.parent(); p
You can use constructor name like:
{your_function}.prototype.constructor.name
this code simply return name of a method.