Hi Ashley,
I get the impression that you intend this piece of javascript to run, every time the input changes. You have to choose if you want to do that entirely in javascript, or in an Outsystems OnChange event.
you are probably doing both here, I can't really tell from your screenprints, but if you are trying to populate output of the javascript node, and after that trying to assign that output to something else, I think that's what you're doing, right, we are looking at the OnChange.
So what you are doing, is inside the OnChange, which in itself is already going to react to changes to the input, you are defining another event listener with the "addEventListener" part.
Everything that comes inside that function definition, isn't going to get executed there and then, but the next time an event occurs. As a consequence, everything you do there to the $Paremeters.Out1 will be done to a local variable with that name inside that javasript event listener, not to the output of your Javascript node.
So, in other words, loose the whole add event listener bit, and you should be fine.
Dorine