Search
 
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
Name
5+5 =