This seems like it would be super handy, as would be able to integrate js libraries and functions in to a patch. Perhaps there is already a clever way to do this? If not would it be hard to implement in the nodes?
So I could not figure out how to access a variable directly, or if that is even possible.
Anyway here is a demo patch.
JS-IO.v4p (29.7 kB)
+1 for variables:) Maybe also console output? And the current DOM state, not just the initially loaded one? cheers