¿Cómo obtener el nombre de la función desde esa función?

¿Cómo puedo acceder al nombre de una función desde dentro de esa función?

// 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 ns.parent.child();

Respuestas a la pregunta(19)

Su respuesta a la pregunta