Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

look through object keys javascript

// Use `Object.entries(obj)`

const myObject = {a: 1, b: 2, c: 3};
console.log(
  Object.entries(myObject)
);
 
PREVIOUS NEXT
Tagged: #object #keys #javascript
ADD COMMENT
Topic
Name
3+7 =