background preloader

JavaScript

Facebook Twitter

Understanding JavaScript Inheritance - Alex Sexton. So someone shoulder-taps you and asks you to explain the concepts behind JavaScript Inheritance to them.

Understanding JavaScript Inheritance - Alex Sexton

In my eyes you’ve got a few options. The Terminology Play You mention that it’s prototypal inheritance, not prototypical and pretty much gloss over the rest, comfortable in your superiority in terminology. You may go as far as saying “Objects just come from other Objects because there aren’t any classes.” Then you just link to Crock’s Post on it, and try to seem busy for the next few days. Code and Examples.

Learning

Highlight. Regex. Libraries and Frameworks.