Ahmed Elgendy thinks this is interesting:

JavaScript is kind of loose about true and false. How is it loose? Well, there are values in JavaScript that aren’t true or false, but that are nevertheless treated as true or false in a conditional. We call these values truthy and falsey precisely because they aren’t technically true or false, but they behave like they are (again, inside a conditional).

Share this highlight

Get Instant Access Now

Unlock the rest of Head First JavaScript Programming
and 30,000 other books and videos

By clicking this box, you confirm that you have read and agree to the terms and conditions of our Membership Agreement, and you understand that when your trial period ends, you will be required to provide billing information if you wish to continue using the service.