Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign up[auto fix] Bug encountered while optimizing ternary operator #866
Comments
dcousens
added
the
bug
label
Apr 24, 2017
This comment has been minimized.
This comment has been minimized.
|
Brackets! var result = value || (canSet ? 'unset' : 'can not set')ESLint bug it would seem. |
This comment has been minimized.
This comment has been minimized.
|
Reported bug to eslint team: eslint/eslint#8507 |
This comment has been minimized.
This comment has been minimized.
|
Closing this issue. Further discussion should happen in the ESLint issue. |
feross
closed this
Apr 25, 2017
This comment has been minimized.
This comment has been minimized.
saknarak
commented
Apr 26, 2017
|
I just found same case. That make me sick to find bug. |
This comment has been minimized.
This comment has been minimized.
cytGitHub
commented
Apr 26, 2017
|
hi brother . how do you do it ?
On 04/26/2017 15:39,saknarak<notifications@github.com> wrote:
I just found same case. That make me sick to find bug.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
lock
bot
locked as resolved and limited conversation to collaborators
May 10, 2018
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
shiye515 commentedApr 24, 2017
before fix
The value of result is
'a'after fix
The value of result is
'unset'