Skip to content

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

Merged
rwjblue merged 1 commit intoemberjs:releasefrom
rwjblue:fix-jshint-issues
Oct 27, 2016
Merged

[BUGFIX lts-2-8] Fix JSHint issue with referencing Symbol.#14531
rwjblue merged 1 commit intoemberjs:releasefrom
rwjblue:fix-jshint-issues

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