-
Notifications
You must be signed in to change notification settings - Fork 128
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
__spread does not work in IE11 #74
Comments
@rbuckton any idea what's up? |
IE doesn't support Symbol.Iterator |
We can possibly just change __read = function (o, n) {
var m = typeof Symbol === "function" && o[Symbol.iterator];
if (!m) return Array.prototype.slice.call(o, 0, n);
... |
Previously we didn't care about the |
The solution is to polyfill the
Source: https://www.leereamsnyder.com/blog/new-skool-uniq-in-internet-explorer |
We recently updated TSC from 4.1.2 to 4.4.4, where we could see diffing the built JS before and after the TSC upgrade, that lot of |
This TypeScript code (a Jasmine test):
runs successfully in browsers but IE.
In IE11, it fails with:
I can see the
...
array spread operator gets built into a call for helper__spread
, thus submitting the issue here.Browsers I tried:
The text was updated successfully, but these errors were encountered: