-
Notifications
You must be signed in to change notification settings - Fork 26.5k
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
ECMAScript 6 and Block Scope #406
Comments
Seems like this is already covered in 2.3. Am I wrong? |
Somewhat, but this issue is looking for a more in-depth section to be added to https://github.com/airbnb/javascript#ecmascript-6-es-2015-styles |
I was thinking of adding additional examples like using let in loops under 2.3 itself and referencing it in the es6 list. Does that sound good? |
I guess that could work, but I don't feel like "references" is really the best place for the actual meat of the content. |
That's true. But it seemed to somewhat cover a few concepts already. But I can create a new section entirely for block scope and have stuff like shadowing variables, loops, etc. Would that work? |
Hmm - that might be better, but I'm hesitant to rashly do a big reorg of parts of the guide. If you don't mind the possibly thrown away work, I'd love to review a PR - otherwise I'll think on it more first. |
Sounds good! |
Add block scope to let & const bullet under ECMAScript 6 Styles section or give it its own overview and link.
The text was updated successfully, but these errors were encountered: