Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

falsy value in JavaScript

if (false)
if (null)
if (undefined)
if (0)
if (-0)
if (0n)
if (NaN)
if ("")
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #falsy #JavaScript
ADD COMMENT
Topic
Name
8+6 =