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

hoist vars and lets that don't change #1991

Merged
merged 1 commit into from
Jan 19, 2019
Merged

hoist vars and lets that don't change #1991

merged 1 commit into from
Jan 19, 2019

Conversation

Rich-Harris
Copy link
Member

This addresses the second part of #1952let x = 1 and const x = 1 are both treated the same way if x is never reassigned, which can result in slightly less code.

@Rich-Harris Rich-Harris merged commit 5be480d into master Jan 19, 2019
@Rich-Harris Rich-Harris deleted the gh-1952-b branch January 19, 2019 13:17
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

Successfully merging this pull request may close these issues.

1 participant