Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

false is also falsy #450

Closed
dvaneynde opened this Issue Dec 28, 2013 · 4 comments

Comments

Projects
None yet
2 participants

there are 5 falsy reasones, but the 6th is 'false'

Member

mgol commented Dec 28, 2013

@dvaneynde Can you link to the specific page that you have an issue with? Thanks!

Page “Conditional Code”, section “Truthy and Falsy Things”.

On 28 Dec 2013, at 23:12, Michał Gołębiowski notifications@github.com wrote:

@dvaneynde Can you link to the specific page that you have an issue with? Thanks!


Reply to this email directly or view it on GitHub.

Member

mgol commented Dec 28, 2013

@dvaneynde Thanks, but please just paste the link instead: http://learn.jquery.com/javascript-101/conditional-code/

Anyway, the text doesn't claim that those are the only falsy values in the same way it doesn't mention all truthy values (which would be impossible). Is there anything in the text that suggests otherwise to you?

Sorry, not so familiar with this github thing.

I read somewhere else that there are 6 falsy things, ‘false’ being one of them obviously.
All the rest is truthy.
That is nice to know, I thought.

But I’m reading the rest now, your examples and pitfalls are very interesting.

On 28 Dec 2013, at 23:26, Michał Gołębiowski notifications@github.com wrote:

@dvaneynde Thanks, but please just paste the link instead: http://learn.jquery.com/javascript-101/conditional-code/

Anyway, the text doesn't claim that those are the only falsy values in the same way it doesn't mention all truthy values (which would be impossible). Is there anything in the text that suggests otherwise to you?


Reply to this email directly or view it on GitHub.

@arthurvr arthurvr pushed a commit to arthurvr/learn.jquery.com that referenced this issue Jan 4, 2015

@scottgonzalez scottgonzalez Conditional Code: Clarify what is truthy and falsy
Fixes gh-450
4ff9932
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment