Lesson

Iterate over properties of an object with ES2017 Object.entries()

The Object.entries() function is an addition to the ECMAscript scpec in Es2017. This allows us to iterate through the properties of an object and read the entries as keys and objects.

Duration
2 min
Access
Pro
Transcript
Available

The Object.entries() function is an addition to the ECMAscript scpec in Es2017. This allows us to iterate through the properties of an object and read the entries as keys and objects.