Prototypal Inheritance in js - new VS. object.create VS. es6 inheritance

Опубликовано: 30 Сентябрь 2024
на канале: beingDev
2,219
53

This video explains
all the stuff involved in achieving prototypal inheritance. like getting the parent properties, assigning the orginal constructor back and what is the best way to assign the prototype chain.

Recommended videos
1. Classes not added in ES6 --- ES6 class structure
   • Classes in ES6 - Methods, construtor,...  

Comment your views, suggestions, improvements or doubts.

Codepen -
https://codepen.io/beingdev/pen/WzLpby

✪ Help me get 1k subscribers
► https://goo.gl/eqx8VA ◄
Twitter →   / beingdev3