When should I use delete vs setting elements to null in JavaScript?
delete property vs creating new object
$ vs. jQuery: Which should I use? (function(){}) vs function(){}(); javascript i++ vs ++i Setting innerHTML vs. setting value with Javascript Array.of vs "[ ]". When to use Array.of over "[ ]"? When should you use === vs ==, !== vs !=, etc.. in javascript? javascript: !( booleanCondition() ) vs ( booleanCondition() == false ) this vs $(this) javascript log() vs document.write() - which to use? javascript function vs. ( function() { ... } ()); when to use .val() vs attr() if (var) vs. if (var != "") When should I use this.x vs var x? When to use "in" vs "window." (function(){})() vs. !function(){}() jquery use of bind vs on click encodeForHTMLAttribute vs encodeForJavaScript !function(){ }() vs (function(){ })() '&&' and '||' vs '? :' True Way To Remove Property From Object (delete vs null vs undefined) delete a.x vs a.x = undefined JavaScript for...in vs for $(this) vs this in JavaScript ' VS " in javascript In javascript == vs =? When to use PreventDefault( ) vs Return false? == vs === in Javascript javascript var vs this JavaScript: that vs this