question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

IE11 Array.from issue

See original GitHub issue

Hi,

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:closed
  • Created 6 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
Finessecommented, Jan 5, 2018

@limonte Thank you for invitation. I will help as much as I can, I don’t have much free time.

1reaction
thr0wncommented, Sep 18, 2017

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found