You don't need semicolon

Hey ,

I'm thrilled to help you learn JavaScript. Unfortunately, you've landed on a page where you cannot access with your current purchase.

Please upgrade (use this link) access this content.

I'm super eager to help you learn more!

You don't need semicolon

Some books and tutorials advocate and tell you to add semicolons to the end of every JavaScript line. Some people say you’re a lousy developer if you don’t do it.

Well, you will notice that I don’t add semicolons to the end of any line in JavaScript. There’s a reason for it.

Semicolons are optional

JavaScript inserts semicolons for you automatically. That’s why it’s optional to write semicolons. You don’t need semicolons to write good JavaScript.

In fact, it’s easier to read and write JavaScript when you leave out the semicolons. Many experts have already done so. I’d leave the explaining of why you don’t need semicolons to this article. Have a read and you’ll understand why.