DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
8+6 =
Submit