IE11 Array.from issue
See original GitHub issueHi,
I see in the migration guide from the original library that we should include the es6-promise library. I have added that, but we still get an error on this line of code:
return Array.from(uniqueFocusableElements);
The error is because Array.from is not defined, and that is not defined in the es6-promise library. I found this polyfill, but I’m curious why no-one else has had an issue.
Am I missing something?
Thanks
Issue Analytics
- State:
- Created 6 years ago
- Comments:11 (6 by maintainers)
Top Results From Across the Web
Alternative or polyfill for Array.from on the Internet Explorer
It runs everywhere without a problem (Chrome, Mozilla, Edge), but NOT on the IE. I have analyzed with the Developer Explorer where the...
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 >Array.from() - JavaScript - MDN Web Docs
The Array.from() static method creates a new, shallow-copied Array instance from an iterable or array-like object.
Read more >Conflict with IE11 due to usage of Array.prototype.includes()
Problem /Motivation. The matchCookieValue function doesn't work in IE11 , due to use of Array.prototype.includes():
Read more >Massimo's Corner of the web
IE11 does not supports Array.from() either... An old-school trick will solve the problem once and for all, just use Array.prototype.slice to turn ...
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
@limonte Thank you for invitation. I will help as much as I can, I don’t have much free time.
Array.from was added again here. Although core.js avoids issues with it, seems weird it reappearing shortly after 59c8148fe2d5673af9438f57dda27189ea9cb9fd, commit that solved the previous Array.from issue. Is this a bug?
thanks.