Перейти к содержимому

4. Prototypes, Prototype Chain & Classes | JavaScript & Node.js Deep Dive

Engineering counter

0:00 / 0:00

4. Prototypes, Prototype Chain & Classes | JavaScript & Node.js Deep Dive

24 просмотра · 10 дн. назад
Engineering counter
12 подписчиков
24 просмотра · 10 дн. назад
Episode 4 of the JavaScript & Node.js Deep Dive series. JavaScript doesn't have classical inheritance. Under the hood, everything is prototypes. In this video we break down how the prototype chain works, how property lookup really happens, and what ES6 classes actually compile down to. What you'll learn: _proto_ vs prototype (the most confusing part, made clear) How the prototype chain resolves properties and methods Constructor functions and the new keyword, step by step Object.create and prototypal inheritance ES6 classes, extends and super: syntactic sugar over prototypes Static methods, private fields (#) and getters/setters Shadowing, hasOwnProperty and instanceof explained Tricky interview questions on prototypes and classes Previous episode: 3. this Keyword, call, apply, bind & Arrow Functions Perfect for senior JavaScript / Node.js interview prep. #JavaScript #NodeJS #Prototypes #JavaScriptClasses #JavaScriptInterview