August 25, 2014

JavaScript: The Good Parts

So I was going through Douglas Crockford’s book titled JavaScript: The Good Parts and I wanted to share some of my notes that I took. ALWAYS use === Don’t DECLARE a variable inside an if (expression). AVOID GLOBAL VARIABLES!!! If you must, classify them in UPPER_CASE Use x += 1, NOT ++ in for loops […]

read more