There is a cons function in Polyfill.js: `function cons(t, a) { return eval('new t(' + a.map(function(_, i) { return 'a[' + i + ']'; }).join(',') + ')'); } It is called when Reflect.construct is defined, and its parameters are passed to __cons. But in case the second argument in Reflect.construct is pseudo-array “arguments” (Reflect.construct(target, arguments)), then in ie11 there will be an error in __cons function:Object doesn't support property or method 'map' It is enough to replacenew t('+a.map(tonew t('+Array.prototype.slice.call(a).map(` for fixing this error.
There is a cons function in Polyfill.js: `function cons(t, a) { return eval('new t(' + a.map(function(_, i) { return 'a[' + i + ']'; }).join(',') + ')'); }
It is called when Reflect.construct is defined, and its parameters are passed to __cons. But in case the second argument in Reflect.construct is pseudo-array “arguments” (
Reflect.construct(target, arguments)), then in ie11 there will be an error in __cons function:
Object doesn't support property or method 'map'It is enough to replace
new t('+a.map(to
new t('+Array.prototype.slice.call(a).map(` for fixing this error.