diff --git a/packages/node_modules/@node-red/editor-client/src/js/polyfills.js b/packages/node_modules/@node-red/editor-client/src/js/polyfills.js index 0fccee8d9..ffe7269f9 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/polyfills.js +++ b/packages/node_modules/@node-red/editor-client/src/js/polyfills.js @@ -12,12 +12,6 @@ Object.defineProperty(SVGElement.prototype, 'children', Object.getOwnPropertyDescriptor(HTMLElement.prototype, 'children')); } - if (!Array.from) { - // JSONata provides an Array.from polyfill that doesn't handle iterables. - // So in IE11 we expect Array.from to exist already, it just needs some - // changes to support iterables. - throw new Error("Missing Array.from base polyfill"); - } Array.from = function() { if (arguments.length > 1) { throw new Error("Node-RED's IE11 Array.from polyfill doesn't support multiple arguments");