function Dog() { // ... } Dog.prototype = new Animal();