Object.fromEntries() ponyfill (in 6 lines)
Official ES spec-compliant polyfill for Object.fromEntries