Created: 2023-01-22 14:59
Status: #concept
Subject: Programming Logic
Tags: JavaScript Python Boolean Operator
Truthy or Falsy Values
JavaScript
What values results in
true
?
- Any value that is not
false
,undefined
,null
,0
,NaN
, or an empty string (''
) actually returnstrue
when tested as a Conditional statement.