Error org.mozilla.javascript.UniqueTag@3a405ae8: NOT_FOUND when tring to assign to result
Hi,
I have a service, returning a string, where I send in a comma separated list of values and if I inside a forEach loop try to access a value and assign it as a result I get the error "org.mozilla.javascript.UniqueTag@3a405ae8: NOT_FOUND"
Bellow is a code snipped that is addreviated.
csvInput.trim().split(",").forEach(csv=> {
var result = csv; // This gives the error
I see no reason why it happens, can anyone suggest a fix and explain this error message?
Kindly
Oskar

