Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js check if object key exists

var obj = { key: undefined };
obj["key"] !== undefined // false, but the key exists!
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #js #check #object #key #exists
ADD COMMENT
Topic
Name
6+4 =