Learn JavaScript
Map
32.17
Lesson

Object.fromEntries()

We can use Object.fromEntries() method to convert an array of key-value pairs to an object.