Wednesday, November 12, 2014

Javascript - Inheritance

Below is a diagram that summarizes how inheritance is implemented in Javascript:













This came from the Udacity course on OO Javascript by the way. Compare this against the Perl version of inheritance.

See this post on how to unit test the classes above.

No comments:

Post a Comment