Print out `undefined` on the REPL when returned.
authorNathan Rajlich <nathan@tootallnate.net>
Wed, 19 Oct 2011 20:46:06 +0000 (13:46 -0700)
committerkoichik <koichik@improvement.jp>
Sat, 22 Oct 2011 05:02:35 +0000 (14:02 +0900)
commitbdb9d09aefbc12daf4d9f9106d763cefd1a84c50
tree85d774d138832bfc1be3e43b6c7b51ffe98eb281
parent7e2d799328b0128ced21a5382748bd722f6f640c
Print out `undefined` on the REPL when returned.

util.inspect() has a special case for "undefined", so it's nice to be able to
distinguish visually that undefined is the result of an expression.
lib/repl.js