AI, Data Science & Cloud Certificates from Google, IBM & Meta
Free courses from frontend to fullstack and AI
Overview
Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This tutorial explains JavaScript’s prototype chain and prototypal inheritance through object literals, getters and setters, constructor functions, inherited properties, and ES6 class extension. It demonstrates how prototype properties and methods are resolved and inherited in code.
Syllabus
Intro
Good Reasons to know about Javascript Prototypes
Hello __proto__
New Modern Methods vs __proto__
More than one link in the prototype chain
3 Rules of Prototypal Inheritance
Inheriting a Getter and a Setter
Inheriting from the Javascript Object
Looping through direct and inherited keys
Object Constructor Functions and Prototypes
Javascript ES6 Classes and Extending Classes
Taught by
Dave Gray