Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript falsy values

the number 0
the BigInt 0n
the keyword null
the keyword undefined
the boolean false
the number NaN
the empty string "" (equivalent to '' or ``)
 
PREVIOUS NEXT
Tagged: #javascript #falsy #values
ADD COMMENT
Topic
Name
6+5 =