Skip to content
Quincy Larson edited this page Aug 20, 2016 · 1 revision

JavaScript Truthy Value

A truthy value is a value that translates to true when evaluated in a Boolean context.

All values are truthy unless they are defined as falsy (i.e. except for false, 0, "", null, undefined and NaN).

See also: falsy | MDN

Clone this wiki locally