-
Notifications
You must be signed in to change notification settings - Fork 386
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
babel-polyfill and es6-shim #467
Comments
This code works well with only |
Is this still an issue after #466 is merged? |
Yes. This seems to be another problem. I'll track it down. |
@gnh1201 why do you need both - |
@zloirock I had no choice but to choose |
While most of the es-shims should work fine alongside core-js, it's definitely odd to mix them. I would expect that es5-shim and es6-shim alone could get you mostly up to speed, except for the Symbol shams that core-js includes but es6-shim does not. |
* Reverted from paulmillr#466 - No need to check that this is 'undefined'. * This pull request fix the following issue: paulmillr#470 paulmillr#467
I tested core-js and confirmed that the example code works well. But I still have to wait and see. I think I need to check the impact when es-shims is excluded from my project. |
Related items
Description
To run ES5 or higher Javascript on WSH(Windows Scripting Host), we need a
babel-polyfill
. for example:This code works well with only
babel-polyfill
and es5 shim and sham. The problem occurs when addinges6-shim
here.In this case, it should be changed as below to works.
This change has also been proposed in #466.
I think that this change should apply. Or a better idea?
The text was updated successfully, but these errors were encountered: