if ( !b )
for ( var j in a )
this.style[j] = a[j];
else
this.style[a] = b;
I really dis-liked having unnecessary braces. Thisā¦ unfortunateā¦ style preference plagued us for quite a while and caused all sorts of avoidable logic errors.
I really wish this kind of coding was removed completely from some languages.
I really wish this kind of coding was removed completely from some languages.