Prototype Chain in Javascript | Astute Js

Publicado el: 17 septiembre 2017
en el canal de: Astute JS
278
2

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...


En esta página del sitio puede ver el video en línea Prototype Chain in Javascript | Astute Js de Duración hora minuto segunda en buena calidad , que subió el usuario Astute JS 17 septiembre 2017, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 278 veces y le gustó 2 a los espectadores. Disfruta viendo!