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

Promise#finally polyfill doesn't add finally method to fetch() results #371

Closed
wa-Nadoo opened this issue Jan 15, 2018 · 2 comments
Closed

Comments

@wa-Nadoo
Copy link

wa-Nadoo commented Jan 15, 2018

Affected browsers: at least FF 57 and Edge 16
Affected versions: core-js@^2.5.0

Reproducible example:

import 'core-js/fn/promise/finally'
typeof fetch('https://gooogle.com').finally
> "undefined"

If include polyfill partially then following code works as expected:

import 'core-js/modules/es7.promise.finally'
typeof fetch('https://gooogle.com').finally
> "function"

Online demo

@zloirock
Copy link
Owner

It's a duplicate of issues like #332 or #178.

@wa-Nadoo
Copy link
Author

Ok. I will close it.

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

2 participants