if this was Java I would set the array as a class ...
# suitescript
c
if this was Java I would set the array as a class variable and use a getter() and setter() method