// How to make a subclass in Javascript Point = function(x, y) { this._x = x this._y = y } p = new Point (10, 10) Sub = function() { } Sub.prototype = p o = new Sub()