DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
javascript check if undefined or null
if( typeof myVar === 'undefined' || myVar === null ){ // myVar is undefined or null }
PREVIOUS
NEXT
Tagged:
#javascript
#check
#undefined
#null
ADD COMMENT
Topic
COMMENT
Name
1+6 =
Submit