DEV Community

Discussion on: A Beginner's Guide to JavaScript's Prototype

Collapse
 
baboquivari profile image
Tony

"So when you try to access leo.prototype, leo doesn't have a prototype property so it will delegate that lookup to Animal.prototype which indeed does have a constructor property. If this paragraph didn't make sense, go back and read about Object.create above."

I think you meant 'leo.constructor' + 'constructor property'? :)