
ValueIterator.next() as Object
[DEPRECATED: Only available for type checking; use Sequence instead.] Advance the iterator to obtain the next value.
const hits = cts.search("love");
let uris = [];
for (const hit of hits) uris.push(hit.nodeUri);
uris;
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.