Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

falsy values in javascript

// falsy values in javascript

1) false
2) 0, -0, 0n
3) null
4) undefined
5) NaN
6) "", '', `` // empty string
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #falsy #values #javascript
ADD COMMENT
Topic
Name
1+2 =