DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
to find keys in an object
obj
=
{
name
:
"akash"
,
age
:
23
}
keysval
=
Object
.
keys
(
obj
)
console
.
log
(
keysval
)
Source by developer.mozilla.org #
PREVIOUS
NEXT
Tagged:
#find
#keys
#object
ADD COMMENT
Topic
COMMENT
Name
7+8 =
Submit