Object.fromEntries()

The Object.fromEntries() method transforms a list of key-value pairs into an object.