for(var i in aArray) VS for(i=0; i<aArray.length; i++)
JavaScript for...in vs for
JavaScript vs JQuery javascript function vs jquery function (function(){}) vs function(){}(); javascript i++ vs ++i javascript: !( booleanCondition() ) vs ( booleanCondition() == false ) this vs $(this) array.length vs. array.length > 0 javascript function vs. ( function() { ... } ()); Javascript Object vs Function for (var i = 0; i < a.length; i++){ vs. for (var i in a){ JSIL vs Script# vs SharpKit if (var) vs. if (var != "") (function(){})() vs. !function(){}() Object.is vs === bindType vs delegateType in Jquery jquery vs javascript !function(){ }() vs (function(){ })() encodeForHTMLAttribute vs encodeForJavaScript '&&' and '||' vs '? :' {} - 0 VS ({} - 0) in JavaScript $(this) vs this in JavaScript ' VS " in javascript In javascript == vs =? var vs this in Javascript object jQuery function VS Javascript function Object var vs Function == vs === in Javascript javascript var vs this JavaScript: that vs this