look through object keys javascript

Solutions on MaxInterview for look through object keys javascript by the best coders in the world

showing results for - "look through object keys javascript"
Louane
26 Apr 2016
1// Use `Object.entries(obj)`
2
3const myObject = {a: 1, b: 2, c: 3};
4console.log(
5  Object.entries(myObject)
6);