I've got an array of API endpoint records as obje...
# suitescript
k
I've got an array of API endpoint records as objects, and an array of NS records as objects. Doing an array.reduce on the endpoint records (they're the source of truth on this occasion) create a new array of objects containing (in pseudocode here)
[{ endpointObj: {...}, nsObj: {...} }]