DEV Community

loading...

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

Collapse
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;

Collapse
adriennemiller profile image
adriennemiller Author

Thanks, updated!