repl: remove variable redeclaration
authorRich Trott <rtrott@gmail.com>
Sat, 30 Jan 2016 23:01:06 +0000 (15:01 -0800)
committerMyles Borins <mborins@us.ibm.com>
Wed, 2 Mar 2016 22:01:11 +0000 (14:01 -0800)
commitff7577214c1517b708f43fa7d0a730654318a475
tree8c90d26b234f7ddc858cf7e55e7bab3108854c4e
parent7fb5a030172c4f1c8866c643077bfbbb8e04a6ca
repl: remove variable redeclaration

`match` and `filter` are declared twice with `var` in `repl.js`.
Declare the variables only once.

PR-URL: https://github.com/nodejs/node/pull/4977
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
lib/repl.js