Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript

//combine the name with the age from object javascript function challenges
const customerAndAge = (obj) => {
    let array = [];
    for (let key in obj) {
      array.push(`Customer Name :${key} , Age :${obj[key]}`);
    } return array;
 
};

//if you find this answer is useful ,
//upvote ⇑⇑ , so can the others benefit also . @mohammad alshraideh ( ͡~ ͜ʖ ͡°)
Source by home.openweathermap.org #
 
PREVIOUS NEXT
Tagged: #javascript
ADD COMMENT
Topic
Name
1+5 =