Hi all, Is not Map function supported in 2019.2 re...
# suitescript
s
Hi all, Is not Map function supported in 2019.2 release>?
d
MapReduce or Array.map from JS?
s
Array.map
d
ITs work, but, only with function, not array: Array.map(function(x){}) //Its work Array.map(x => x) //Does not work
If you use in client script, you can use arrow function, BUT, I don't think its a good idea.. but.. kkk
s
Does it work in server side?
I was using the arrow function in server side
d
with function, works in server side
s
arrow function should work server-side if SS2.1
d
Yep, but still beta
s
aye, I'd avoid using SS2.1 for anything but experimentation at this point
👍 1