Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to check if object exists in javascript

if (typeof maybeObject != "undefined") {
   alert("GOT THERE");
}
Source by www.javascripttutorial.net #
 
PREVIOUS NEXT
Tagged: #check #object #exists #javascript
ADD COMMENT
Topic
Name
8+1 =