Skip to main content


The JavaScript Semicolon

Have you ever wondered why you can omit semicolons in some places in your Javascript? What are the rules governing when you can or can't omit them? In this video Stephanie Manwaring covers some of the major rules governing Automatic Semicolon Insertion (ASI), examples of how it can help your code if you choose to omit semicolons, and cases where it might not be so helpful. Whether you choose to write Javascript with or without non-essential semicolons, being aware and having a knowledge of ASI will help you become a better developer (and debugger).

Project Members: Stephanie Manwaring

Find the program that fits your life.

Learn about our coding, cybersecurity, and data analytics bootcamps offered on full-time and part-time schedules.