DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
loop key in object
const fruits = { apple: 28, orange: 17 } for(key in fruits){ console.log(key) }
Source by developer.mozilla.org #
PREVIOUS
NEXT
Tagged:
#loop
#key
#object
ADD COMMENT
Topic
COMMENT
Name
5+5 =
Submit