DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
object contains property javascript
if (x.hasOwnProperty('y')) {} //or if ('y' in x) {} //or if (x?.y){}
Source by dmitripavlutin.com #
PREVIOUS
NEXT
Tagged:
#object
#property
#javascript
ADD COMMENT
Topic
COMMENT
Name
2+9 =
Submit