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

[BUGFIX lts-2-8] Fix JSHint issue with referencing Symbol. #14531

Merged
merged 1 commit into from
Oct 27, 2016

Conversation

rwjblue
Copy link
Member

@rwjblue rwjblue commented Oct 27, 2016

The guard for using Symbol should not have been setup this way (let Symbol = Symbol || null will never be defined AFAICT since the
transpilation would use var which hoists).

Either way, there is no need for the local Symbol variable since we
can just check if it is defined as the guard.

The guard for using `Symbol` should not have been setup this way (`let
Symbol = Symbol || null` will never be defined AFAICT since the
transpilation would use `var` which hoists).

Either way, there is no need for the local `Symbol` variable since we
can just check if it is defined as the guard.
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