you have strings in the array, and integers in if ...
# suitescript
p
you have strings in the array, and integers in if clauses.