Skip to content
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

isConstructor() check fails in IE11 #396

Open
thomasdeater opened this issue Dec 5, 2019 · 0 comments
Open

isConstructor() check fails in IE11 #396

thomasdeater opened this issue Dec 5, 2019 · 0 comments
Assignees

Comments

@thomasdeater
Copy link

thomasdeater commented Dec 5, 2019

Using the js-es6 branch I discovered that the isConstructor() check fails in IE11 because Function.name is not supported.

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/name

I implemented a polyfill found here:

https://stackoverflow.com/a/17056530

Patching flipclock would probably be a better resolution, but as I'm using the npm package it was easier to add the polyfill.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants