Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

check undefined in javascript

if (typeof myVariable === 'undefined'){
    //myVariable is undefined
}
Source by www.tutorialrepublic.com #
 
PREVIOUS NEXT
Tagged: #check #undefined #javascript
ADD COMMENT
Topic
Name
1+1 =