Answers for "key value javascript for"

4

for key value in object javascript

for (const [key, value] of Object.entries(object1)) {
  console.log(`${key}: ${value}`);
}
Posted by: Guest on December-09-2020

Code answers related to "key value javascript for"

Code answers related to "Javascript"

Browse Popular Code Answers by Language