Simple JavaScript REPL for the browser.
By default it evals JS:
repl() // JavaScript eval mode
but you can pass it a callback instead:
repl(function(s) { return eval(s); });
The second argument is the default message first displayed:
repl(null, "eval some JS!");