Simple Object vs. Factory vs. Constructor - Practical Example
Constructor function vs Factory functions
javascript function vs jquery function (function(){}) vs function(){}(); javascript i++ vs ++i javascript: !( booleanCondition() ) vs ( booleanCondition() == false ) jQuery vs Javascript example Object vs Class vs Function this vs $(this) javascript function vs. ( function() { ... } ()); Javascript Object vs Function JSIL vs Script# vs SharpKit Object vs function constructor in JavaScript if (var) vs. if (var != "") (function(){})() vs. !function(){}() Object.is vs === !function(){ }() vs (function(){ })() encodeForHTMLAttribute vs encodeForJavaScript '&&' and '||' vs '? :' Object vs Object JavaScript for...in vs for $(this) vs this in JavaScript ' VS " in javascript In javascript == vs =? var vs this in Javascript object jQuery function VS Javascript function JavaScript: function call vs constructor function Object var vs Function == vs === in Javascript javascript var vs this JavaScript: that vs this