JavaScript Crib Sheet

Snippets and other helpful code that I learned about and don’t want to forget about anytime soon:


debugger; - oh where have you been all of my life? I am such a dork. … And to my friends out there that would urge that I refrain from calling myself a dork on the grounds that I am not, I would respectfully submit that you are wrong. h/t: @ericjgruber


console.log('Your code fired correctly, and I didn’t throw up some ridiculously annoying modal alert. You’re welcome.');

Ummm…, handy.

for later …