In Code Like A Girl. More on Medium.
TL;DR: Semi-colons are optional in Javascript, but omitting them can lead to dire consequences on rare occasions. This post explains the reasoning behind when and why to use them for beginners, and signposts to further reading for more detailed information.

I started learning Javascript last week. I’ve seen it before, and done a couple of online lessons a few months ago, but never really written my own JS code from scratch, or without single prompts like “write a function that does x and returns y, using z method, like the example above”. Honestly? From a background of Ruby, Javascript seems…