I have an Angular 4 project that works successfully in Chrome. However, it does not load on IE11 with the following error in polyfills.bundle.js (I use the "ng build --env = prod" command to build the site):
var exports = module.exports = function (iterable, entries, fn, that, ITERATOR) {
var iterFn = ITERATOR ? function () { return iterable; } : getIterFn(iterable);
var f = ctx(fn, that, entries ? 2 : 1);
var index = 0;
var length, step, iterator, result;
if (typeof iterFn != 'function') throw TypeError(iterable + ' is not iterable!');
iterFn is undefined here, so an error occurs. Please inform.
source
share