might have to be `listOfDates.reduce(maxDate, 0);`
# suitescript
e
might have to be
listOfDates.reduce(maxDate, 0);