What type did you set for outputlist1 in the JS2B element?
outputlist1
Try out the approach mentioned in this thread - I'm having trouble processing data in Bubble.io with JavaScript! 🤯 - #2 by adamhholmes