DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
map over object javascript
const obj = { a: 1, b: 2 } Object.entries(obj).map(([key, value]) => /* do what you want */)
Source by hashnode.com #
PREVIOUS
NEXT
Tagged:
#map
#object
#javascript
ADD COMMENT
Topic
COMMENT
Name
3+3 =
Submit