News for hackers. Stuff that matters.
Re:JavaScript right on the hardware by Tichy on Thursday August 15, 2013 @04:06AM (#6216655)
You know that you can just do

foo.prototype = { dothis: function(){}, dothat: function(){}

}

In the beginning I wrote it more like

foo.prototype.dothat = function(){} foo.prototype.dothis = function(){}

Which was a lot more ugly.

There are no comments on this comment yet.