Hi all! What do you use instead of array.find or a...
# suitescript
k
Hi all! What do you use instead of array.find or array.filter in SuiteScript?
j
SS 2.1 script should be possible is 2.1 not an option.
👍 1
e
filter
is available in all versions of SS, so I use that
in 2.1 I'll use
includes
or
find
k
Oh! I didn't see these replies until now. You're absolutely correct! I was still using 2.x on this script. >.<
Changed it to 2.1 and it worked just fine! 😄
j
Excellent