JavaScript is a bit confusing for developers experienced in class-based languages (like Java or C++), as it is dynamic and does not provide a class implementation per se (the class keyword is introduced in ES2015, but is syntactical sugar, JavaScript remains prototype-based).
When it comes to inheritance, JavaScript only has one construct: objects. Each object has a private property (referred to as [[Prototype]] ) which holds a link to another object called its prototype. That prototype object has a prototype of its own, and so on until an object is reached with null as its prototype. By definition, null has no prototype, and acts as the final link in this prototype chain.
https://developer.mozilla.org/en-US/d...
On this page of the site you can watch the video online Prototype Chain in Javascript | Astute Js with a duration of hours minute second in good quality, which was uploaded by the user Astute JS 17 September 2017, share the link with friends and acquaintances, this video has already been watched 278 times on youtube and it was liked by 2 viewers. Enjoy your viewing!