Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to check if object is undefined in javascript

if (typeof something === "undefined") {
    alert("something is undefined");
}
 
PREVIOUS NEXT
Tagged: #check #object #undefined #javascript
ADD COMMENT
Topic
Name
2+6 =