Object.fromEntries
Javascript can create an object from an array of properties. Complements Object.entries.