Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js falsy values

    let a = false
    let b = 0
    let c = -0
    let d = 0n
    let e = ''
    let f = null
    let g = undefined
    let h = NaN
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #js #falsy #values
ADD COMMENT
Topic
Name
4+2 =