DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
for key value in object javascript
for (const [key, value] of Object.entries(object1)) { console.log(`${key}: ${value}`); }
Source by developer.mozilla.org #
PREVIOUS
NEXT
Tagged:
#key
#object
#javascript
ADD COMMENT
Topic
COMMENT
Name
1+5 =
Submit