This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Super Base Class | |
function SuperBase() {} | |
// Base class | |
function Base(spec) { | |
this.name = spec.name; // Define the "name" property | |
} | |
// Child class | |
function Child(spec) { |