Join Slack
Powered by
whats the ES5 equivalent of ".reduce" in a suitesc...
# suitescript
s
SuiteBender
01/25/2018, 4:08 PM
whats the ES5 equivalent of ".reduce" in a suitescript for an array of JSON data?
e
erictgrubaugh
01/25/2018, 6:57 PM
Array.prototype.reduce
was added in ES5.1, so it should be available natively in your SuiteScripts; I used it the other day in a UE with no issue.
Open in Slack
Previous
Next