Using this as well: var columns = ...
# suitescript
g
Using this as well: var columns = resultSet.getAllColumns();