I\'been doing some inheritance in js in order to understand it better, and I found something that confuses me.
I know that when you call an \'constructor function\' with
Worth noting that in ECMAScript 5 (i.e. the latest version of the JavaScript language) you can get access to the internal [[Prototype]] property of an instance via Object.getPrototypeOf:
Object.getPrototypeOf(fido) === Dog.prototype