ASI Guide - Are Semicolons Necessary in JavaScript?
Channel:
Subscribers:
58,000
Published on ● Video Link: https://www.youtube.com/watch?v=B4Skfqr7Dbs
Learn more advanced front-end and full-stack development at: https://www.fullstackacademy.com
Did you ever notice that if you accidentally omit semicolons from your Javascript code, your code still works? Why is that?The Automatic Semicolon Insertion (ASI) is a JavaScript syntactic feature that allows developers to omit a semicolon at the end of a line, following certain rules. In this ASI Guide, we talk about the major rules governing Automatic Semicolon Insertion, examples of how it can help your code if you choose to omit semicolons, and example's where it is not so helpful.
Watch this video to learn:
- What is Automatic Semicolon Insertion (ASI)
- When it's OK to omit Semicolons
- Why it's important to understand ASI
Other Videos By Fullstack Academy
Tags:
ASI
Automatic Semicolon Insertion
Semicolons
JavaScript Semicolon
ASI Guide