Tag Archives: Concepts

Truthy/Falsy

, , ,

In javascript (and some other languages for that matter) non-boolean values can behave as booleans under certain circumstances. This is often referred to as “truthy” or “falsy,” that is, it’s like a boolean true or false, but technically isn’t exactly the same, so it’s “kind of true” and “kind of false.” What am I talking about?

Read More »