Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to map through an object javascript

const person = {fname:"John", lname:"Doe", age:25};

let text = "";
for (let x in person) {
  text += person[x];
}
Source by hashnode.com #
 
PREVIOUS NEXT
Tagged: #map #object #javascript
ADD COMMENT
Topic
Name
8+6 =