Canvas.prototype.add = function(){ var ctx = this._ctx; [].forEach.call(arguments, function(el) { el.draw(ctx); }); }