-
Notifications
You must be signed in to change notification settings - Fork 12.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create Compatibility with Object.fromEntries() with ES5 #32803
Comments
A polyfill for a function is a runtime feature. See #26087 |
Okay, so it is left out on purpose. Thank you for your response :) |
Object.fromEntries() is not support in Microsoft Edge. so there are any replacement of this ? |
4 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Search Terms
Object.fromEntries()
Suggestion
I'd like to see
Object.fromEntries()
available to use as a function when compiling to the browser compatible ES5.Use Cases
Using
Object.fromEntries()
when targeting ES5 alongside the friendlyObject.entries()
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/fromEntries
Examples
Here is the polyfill from TC39 https://github.com/tc39/proposal-object-from-entries/blob/master/polyfill.js
Checklist
My suggestion meets these guidelines:
My Questions
The text was updated successfully, but these errors were encountered: