Inheritance from classes - Basic JavaScript Fast (26) | extends, instanceof

preview_player
Показать описание
Let's see how to create a child class from the parent class in JavaScript, using the "extends" keyword. We can add new property-value pairs in the child class. Then we can check whether an object belongs to a certain class or not. We can check the prototype of the child class using the web developer tools of a web browser. Finally, we learn how to override the constructor and methods inherited from the parent class.

1:11 - extends
9:41 - instanceof
8:14 - Prototype of child classes
11:58 - override the constructor and methods inherited from the parent class

Playlist of my JavaScript course

Playlist of my HTML5 and CSS3 tutorials

Playlist of my algorithm walkthrough

Playlist of my Java course

Playlist of my Java examples

#javascripttutorial #javascriptfullcourse #begincodingfast #javascript #extends #instanceof
Рекомендации по теме