From e55c4868013adee90dba5a02a09d66770badc250 Mon Sep 17 00:00:00 2001 From: isaacs Date: Sun, 22 Aug 2010 13:37:08 -0700 Subject: [PATCH] Missing 'var' in sys.inspect (Found by Oleg Slobodskoi) --- lib/sys.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sys.js b/lib/sys.js index 6fee91e2f4e..1ea68a70cd9 100644 --- a/lib/sys.js +++ b/lib/sys.js @@ -121,7 +121,7 @@ exports.inspect = function (obj, showHidden, depth) { } } - output = keys.map(function (key) { + var output = keys.map(function (key) { var name, str; if (value.__lookupGetter__) { if (value.__lookupGetter__(key)) {