Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

What Is __proto__? - Javascript Prototypes Tutorial

Dave Gray via YouTube

Overview

Dive into a comprehensive 23-minute tutorial on JavaScript prototypes, exploring the concept of __proto__ and prototype inheritance. Learn about the prototype chain, modern methods versus __proto__, and the three rules of prototypal inheritance. Discover how to inherit getters and setters, work with the JavaScript Object, loop through direct and inherited keys, and understand object constructor functions. Conclude with an exploration of ES6 classes and class extension, gaining valuable insights into a popular interview topic that underpins modern JavaScript development.

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

Reviews

Start your review of What Is __proto__? - Javascript Prototypes Tutorial

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.