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

Missing semicolons #61

Closed
and3k5 opened this issue Apr 11, 2016 · 2 comments
Closed

Missing semicolons #61

and3k5 opened this issue Apr 11, 2016 · 2 comments

Comments

@and3k5
Copy link

and3k5 commented Apr 11, 2016

It seems like semicolons doesn't appear on ES6 examples on the pages.
If you look at features.txt:605 you see semicolons even though they're not visible on the site.

@rse
Copy link
Owner

rse commented Apr 11, 2016

They can be enabled/disabled on the website by clicking on "syntactic sugar: reduced | traditional". The semicolons are intentionally disabled for ES6 code. For more details check out question "Why does the website default use the "reduced" syntactic sugar style (without semicolons) for ECMAScript 6 and the "traditional" syntactic sugar style (with semicolons) for ECMAScript 5?" on the FAQ under https://github.com/rse/es6-features/blob/gh-pages/README.md

@rse rse closed this as completed Apr 11, 2016
@and3k5
Copy link
Author

and3k5 commented Apr 11, 2016

Ah I see. I was going right into reporting this, since I just thought it was a mistake.

I might need to read more about ES6. Thanks! :-)

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

No branches or pull requests

2 participants