JavaScript Truthy Value

JavaScript Truthy Value
0

#1

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


#2