I have this code node that takes arr1 like ['a', 'b'] and arr2 like [['1', '2', '3', '4', '5'], ['7','8','9','10','11']] and produces arr3 like [[a,1][a,2][a,3][a,4][a,5],[b,7],[b,8],[b,9],[b,10],[b,11]].
The code node works, but it doesn't render the output (shows a rendering error).
And I'm pretty sure is the cause of a rendering-related performance drop for that graph (can barely click & drag the graph).
It's expecting you to output a string[], so it's trying to render a list of strings, but it's actually a string[][] so that's why the rendering error is happening
What happened?
I have this code node that takes arr1 like ['a', 'b'] and arr2 like [['1', '2', '3', '4', '5'], ['7','8','9','10','11']] and produces arr3 like [[a,1][a,2][a,3][a,4][a,5],[b,7],[b,8],[b,9],[b,10],[b,11]].
The code node works, but it doesn't render the output (shows a rendering error).
And I'm pretty sure is the cause of a rendering-related performance drop for that graph (can barely click & drag the graph).
The code for the code node:
What was the expected functionality?
Expected no rendering error or performance impact.
Describe your environment
Win11. Browser mode.
Relevant log output
No response
Relevant screenshots
No response
Code of Conduct