email360 / ssjs-lib

An open-source library that takes the repetitive and complex tasks and simplifies them, enabling you to get the most out of Salesforce Marketing Cloud.
http://www.email360.io
Other
48 stars 14 forks source link

Update lib_polyfill.js Array.prototype.filter #2

Open yysahler opened 3 years ago

yysahler commented 3 years ago

The standard array.filter polyfil from MDN does not seem to work and is causing my scripts to timeout and or produce "Bad Request" error. The code is updated with a simplified polyfill that seems to work normally. I will continue to build and test other array methods if this pull is fulfilled.