Menu
function Hero() { }
var hero = new Hero();
console.log(hero.constructor); //Hero()
console.log(hero.constructor.prototype); // Object{}
—————————————————
hero.constructor === hero.constructor.prototype.constructor; //true
Can someone explain how the last line evaluated to true?