Could even just .join(",") your array and then .sp...
# suitescript
m
Could even just .join(",") your array and then .split(",") the string on the other end if it's cleaner.