DEV Community

Discussion on: Introducing Object.fromEntries

Collapse
 
jnschrag profile image
Jacque Schrag

This is fantastic! No more having to use .reduce to convert an array back into an Object. šŸŽ‰ I know this isn't yet supported in Edge - is there a polyfill for it?

Collapse
 
laurieontech profile image
Laurie

So it looks like it might be supported by Edge? At least according to this.
github.com/feross/fromentries

Collapse
 
jnschrag profile image
Jacque Schrag

I think they mean the ponyfill is supported in Edge. But maybe not! The wording is kind of ambiguous there.

Thread Thread
 
laurieontech profile image
Laurie

Agreed.