JavaScript Syntax Death Match Part I – Variables, If/Else, Switch & Functions

I just went through a JS exercise and even though I did pretty well in terms of getting the logic right, I always have a hard time with the syntax, especially once you start combining things. Console.logging the result of calling a function without passing parameters? Where the hell do I put brackets? Using an … Continue reading JavaScript Syntax Death Match Part I – Variables, If/Else, Switch & Functions

Shortening Sh*t in JavaScript – A Cheat Sheet

I must admit, JavaScript syntax isn't the easiest thing I've encountered. It's not so much the 'words' but the symbols that I have a hard time remembering. Normal brackets, swirly brackets, or no brackets? Single, double or no quotation marks? Ergh! Additionally, there a multiple ways of writing the same thing. I know this was … Continue reading Shortening Sh*t in JavaScript – A Cheat Sheet