Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing semicolon after do-while #72

Open
adrianheine opened this issue Dec 10, 2017 · 0 comments
Open

Add missing semicolon after do-while #72

adrianheine opened this issue Dec 10, 2017 · 0 comments

Comments

@adrianheine
Copy link
Member

The spec says:

In ECMAScript 2015, Automatic Semicolon Insertion adds a semicolon at the end of a do-while statement if the semicolon is missing. This change aligns the specification with the actual behaviour of most existing implementations.

See ASI spec. This if for example not implemented by IE 9, so transpiling it could actually provide some benefit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant