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
ES6-only polyfills #184
Comments
ES6 changes behavior most added in ES5 features. The second - I don't know any popular engine, completely correct by ES5 spec - they all have some bugs and In the future, for example |
Thank you for information! |
Just to confirm that I have this right, I can currently import ES5, 6, or 7 separately:
According to caniuse.com ES5 is supported on all current browsers but I might still need ES5 to fix broken browser implementations? |
@RehanSaeed ES6 changes behaviour almost all features added in ES5, so |
Do you recommend importing the es5 code if I want to support 99% of browsers or the last two versions (Including IE 10 onwards)? |
Depends on your goals and objectives. |
Hello! Thank you for your work.
Can you explain me, please, why you are not provide ES6-only polyfills? If I need to support only ES5 (not ES3) runtimes, why I need to include ES5 polyfills in my bundle when I imported "core-js/es6" entry point?
I read the changelog to the 2.1.0 version (https://github.com/zloirock/core-js/releases/tag/v2.1.0, section "Separated ES5 polyfills moved to the ES6 namespace. Why?"), but still do not understand.
Thanks!
The text was updated successfully, but these errors were encountered: