repl: print out `undefined`
authorNathan Rajlich <nathan@tootallnate.net>
Wed, 19 Oct 2011 20:46:06 +0000 (13:46 -0700)
committerBen Noordhuis <info@bnoordhuis.nl>
Thu, 20 Oct 2011 15:41:33 +0000 (08:41 -0700)
commit95d530f2b4faa57662d3b052e7637246b6a7025f
treea7b1f07c222237b7c48687ef4577b97df70b0617
parentb43eb9678bdbbf741a0eb573e05385fc2d1645c0
repl: print out `undefined`

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