-
Notifications
You must be signed in to change notification settings - Fork 594
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
'catch' is a reserved word in IE 8 / 9 #20
Comments
+1 mentioning |
I should have included the work-around if you need to support IE 8 or 9: promise["catch"](function(err) {
// do something smart
}); |
adding a es3 safe transpile step is also a great solution, for those that have a build pipeline. |
Agreed, thanks for pointing this out |
Closed
This one did the trick for me: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
And thus, you cannot use promise.catch() if you plan on supporting IE 8 or 9.
I realize that this isn't a bug that can be fixed, but it is perhaps worth mentioning it as a limitation of this polyfill so developers aren't caught off guard when their app breaks on IE 8/9.
The text was updated successfully, but these errors were encountered: