I would like to get the parent class name (Parent), but I\'m only able to retrieve the child class name with this code (Child)...
You could technically do
// instanceProto === Child.prototype
var instanceProto = Object.getPrototypeOf(instance);
// parentProto === Parent.prototype
var parentProto = Object.getPrototypeOf(instanceProto);
console.log(parentProto.constructor.name);
keep in mind that these names may all be mangled by minifiers.