whats the ES5 equivalent of ".reduce" in a suitesc...
# suitescript
s
whats the ES5 equivalent of ".reduce" in a suitescript for an array of JSON data?
e
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.