1×
Become a member
to unlock all features
Autoplay

    Understanding the difference between .prototype and .__proto__ in JavaScript

    javascriptJavaScript

    It can be confusing to understand when and how the .prototype and .proto properties are created and used. They both seem to imply having something to do with prototypal inheritance. This is true but possibly not how you think. We'll review each of these properties' role within prototypal inheritance and how they are used in everyday code.