Advertisement

Member Inheritance

  • Terry McNavage

Abstract

In this chapter, I’ll cover a feature of JavaScript called inheritance, which is a very useful and powerful tool to acquire. It allows us to write much more ordered and efficient code, because it is a great way to organize your code into useful little lumps. I will cover the following four ways to approach inheritance, each of which has its own place in your programs:
  • Classical

  • Prototypal

  • Deep copy

  • Mixin

Keywords

Wild Blueberry Vanilla Bean Assignment Expression Prototype Object Child Constructor 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Terry McNavage 2010

Authors and Affiliations

  • Terry McNavage

There are no affiliations available

Personalised recommendations