Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js check if undefined

let foo = undefined
//will return true
typeof foo === 'undefined'
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #js #check #undefined
ADD COMMENT
Topic
Name
9+8 =