DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
get first property from object javascript
obj = { key:"value" } Object.values(obj)[0] //returns "value"
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#property
#object
#javascript
ADD COMMENT
Topic
COMMENT
Name
9+9 =
Submit