Set polyfill doesn't work with Array.from in IE11
See original GitHub issueHi all, Using the included Set polyfill, I have the following:
const testSet = [...new Set([1, 2, 1])];
In Chrome and Edge (for example), the output is what I expect it to be:

But in IE11 (where the polyfill kicks-in), this is what I’m shown:

It looks like it’s creating an object within the array. I’ve run the code directly from your source as well and am getting the same results. Any idea what’s going on?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:13 (10 by maintainers)
Top Results From Across the Web
Alternative or polyfill for Array.from on the Internet Explorer
I am getting error after adding your code and checked in Internet Explorer 11. This site overrides Array.from() with an implementation that doesn't...
Read more >Array.from fails with Set on IE11 · Issue #120 - GitHub
This appears to be an issue with the order in which polyfills are being loaded: Array.from first captures the Set.size property descriptor using ......
Read more >[Solved]-babel: polyfill Array.from for IE11 support-Reactjs
Coding example for the question babel: polyfill Array.from for IE11 ... React - Babel Polyfill doesn't prevent exception on Set or Weakmap for...
Read more >Babel: Polyfill Array.From For Ie11 Support - ADocLib
A Node.js commandline application for analysing your JavaScript file and generating a https://polyfill.io URL based on all the features that are being used....
Read more >Array.prototype.some() - JavaScript - MDN Web Docs - Mozilla
The some() method tests whether at least one element in the array passes the test implemented by the provided function. It returns true...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
When a PR is merged, it’s assigned to a release, and then we release periodically. You’ll get at least 7 days notice because we push to qa.polyfill.io a week ahead of cdn.polyfill.io, and announce on twitter.
Thanks @triblondon ! It looks like the releases may not necessarily be on a defined schedule – any idea when something like that may land in the wild?