for var index in vs. forEach
JavaScript for...in vs for
javascript function vs jquery function (function(){}) vs function(){}(); javascript i++ vs ++i jQuery $.each vs. JavaScript .forEach javascript: !( booleanCondition() ) vs ( booleanCondition() == false ) forEach() vs Array.prototype.forEach.call() this vs $(this) javascript function vs. ( function() { ... } ()); Javascript Object vs Function array.forEach.call vs array.map.call JSIL vs Script# vs SharpKit if (var) vs. if (var != "") (function(){})() vs. !function(){}() Object.is vs === bindType vs delegateType in Jquery !function(){ }() vs (function(){ })() encodeForHTMLAttribute vs encodeForJavaScript '&&' and '||' vs '? :' for vs forEach issue getelementbyid vs index ' VS " in javascript $(this) vs this 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