Skip to content

there is a mistake #549

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

Closed
wants to merge 1 commit into from
Closed

there is a mistake #549

wants to merge 1 commit into from

Conversation

wybcp
Copy link

@wybcp wybcp commented Sep 8, 2014

// returns 2, which is true
foo && baz;

//should be
bar && baz

// returns 2, which is true
foo && baz;

//should be
bar && baz
@scottgonzalez
Copy link
Member

I'm not sure why you think that's the case. 1 is truthy, so it continues to 2. 0 is falsey, so it stops.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants