I have a script foo.js that contains some functions I want to play with in the REPL.
foo.js
Is there a way to have node execute my script and then jump into a
Currently you can't do that directly, but you can mylib = require('./foo.js') in the REPL. Remember methods are exported, not declared as globals.
mylib = require('./foo.js')