Move function declaration out of conditional
authorJonas Westerlund <jonas.westerlund@me.com>
Wed, 4 Jul 2012 21:14:27 +0000 (23:14 +0200)
committerNathan Rajlich <nathan@tootallnate.net>
Sat, 7 Jul 2012 02:28:35 +0000 (19:28 -0700)
commit7e7d5d38eae74ac92daf304624a81c951be6ebf6
tree2f3ce635d4aa61d816d52ed502c2cd64b4458e28
parent0b0b72c2fab5bdf32f5476e47a1e7f2da9db2064
Move function declaration out of conditional

Also avoid using eval as identifier.
Fixes crashes in strict mode.
lib/repl.js