I'm looking for a way to access the variables / functions defined in a node js REPL:
$ node > x = 5 5 > eval('y = 9') 9 > who <----- something like this maybe?
EDIT: The expected output I look for is:
x y