Answers for "object.keys loop"

2

loop over keys in object javascript

Object.keys(obj).forEach(function(key) {
  console.log(key, obj[key]);
});
Posted by: Guest on March-03-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language