Did you know that numbers can be truthy or falsy, while text is always truthy?
@wilto explains all the JavaScript:https://abookapart.com/products/javascript-for-web-designers …
-
-
Replying to @abookapart @wilto
!!'' === false, better remove this tweet
3 replies 0 retweets 0 likes -
Replying to @yoshuawuyts @abookapart
I mean, so’s `!true`, when you get right down to it.
1 reply 0 retweets 0 likes -
Replying to @wilto
I don't get what you're trying to say, could you elaborate?
@abookapart1 reply 0 retweets 0 likes -
Replying to @yoshuawuyts @abookapart
Maybe look at it this way: the line is “text is always truthy,” and technically "" contains no text.
1 reply 0 retweets 0 likes
Replying to @wilto @abookapart
ehhhhhh, while technically correct that's a very thin argument - ah well, whatever
12:51 PM - 29 Sep 2016
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.