Comment on Semicolons in JavaScript are optionalComments−mike-cardwell16yHis comments about minification are silly. It's entirely dependent on the minifier. Google Closure on my system converts:if(condition) stuff()To:condition&&stuff()So no, it doesn't add curly brackets and increase the size of the expression. And Google closure converts:var a=1var b=2var c=3To:var a=1,b=2,c=3Not what he said all minifiers do.
Comments
His comments about minification are silly. It's entirely dependent on the minifier. Google Closure on my system converts:
if(condition) stuff()
To:
condition&&stuff()
So no, it doesn't add curly brackets and increase the size of the expression. And Google closure converts:
var a=1
var b=2
var c=3
To:
var a=1,b=2,c=3
Not what he said all minifiers do.