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 2f6ed324c..0fccee8d9 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 @@ -23,8 +23,8 @@ throw new Error("Node-RED's IE11 Array.from polyfill doesn't support multiple arguments"); } var arrayLike = arguments[0] + var result = []; if (arrayLike.forEach) { - var result = []; arrayLike.forEach(function(i) { result.push(i); })