oh, you can steal that `nsSearchResult2obj() ` and...
# suitescript
s
oh, you can steal that
nsSearchResult2obj()
and use it in plain JS. Feel free. Just take that single _.reduce line from https://github.com/ExploreConsulting/netsuite-fasttrack-toolkit-ss2/blob/master/search.ts