I would like to evaluate
var foo = \"foo\"; console.log(foo);
as a block, instead of evaluating line by line
var foo = \"f
Maybe I didn't understand the question well, but if you want to write multiline command in the console of the repl, you can use shift+enter to move to the next lines.