+ 2

some body explain me difference between true false truthy falsey

help me

6th Jul 2017, 9:31 AM
Jay Chheda
Jay Chheda - avatar
6 Respostas
+ 2
I understood that for non Boolean values which is true is known as truthy and for non Boolean values which is false is known as falsey/falsy
6th Jul 2017, 10:58 AM
Jay Chheda
Jay Chheda - avatar
+ 2
is this right what I understood
6th Jul 2017, 10:58 AM
Jay Chheda
Jay Chheda - avatar
+ 2
thanks bro 👍
6th Jul 2017, 11:04 AM
Jay Chheda
Jay Chheda - avatar
+ 1
I think the second one doesn't exist.
6th Jul 2017, 10:13 AM
MintyNerdyPoodle
MintyNerdyPoodle - avatar
+ 1
@MintyNerdyPoodle, truthy and falsey exists and is a real thing. @Jay_3998007: Jamie's answer is correct, if you want a complete answer, read this gist, it's explanation is very elegant and will clear all confusions what so ever. https://gist.github.com/jfarmer/2647362
6th Jul 2017, 10:52 AM
Salekin
Salekin - avatar
0
@Jay_3998007😎 "non Boolean values which is true is known as truthy and for non Boolean values which is false is known as falsey/falsy" yes
6th Jul 2017, 11:03 AM
Salekin
Salekin - avatar