Herencia en prototype
Esto también te interesa!
PREGUNTAS SIMILARES
#2
var SubClase = Class.create(SuperClass, { add: function(arg) { this.items[this.items.length] = arg; }, initialize: function($super, id) { $super(id); this.items = []; } });
var SubClase = Class.create(SuperClass, { add: function(arg) { this.items[this.items.length] = arg; }, initialize: function($super, id) { $super(id); this.items = []; } });