DEV Community

Discussion on: Semicolons in JavaScript: To Use or Not to Use?

balachalasani profile image
Bala Chalasani

There is a typo in point 1 example 2 in the ASI interpreted code:

Should be

var a;
b = 5;

Instead of:

var a;
b = 3;

adriennemiller profile image
adriennemiller Author

Thanks, updated!