From ff05beeef33e9d48955ca5739e067d2aa1ffffdc Mon Sep 17 00:00:00 2001 From: Fedor Indutny Date: Tue, 20 Sep 2011 15:14:41 +0700 Subject: [PATCH] fix inspection of zero --- lib/_debugger.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/_debugger.js b/lib/_debugger.js index 9bac859eba8..1f6f9fe7d5e 100644 --- a/lib/_debugger.js +++ b/lib/_debugger.js @@ -561,7 +561,7 @@ Client.prototype.mirrorObject = function(handle, depth, cb) { return; } else if (handle.type === 'function') { val = function() {}; - } else if (handle.value) { + } else if (handle.value !== undefined) { val = handle.value; } else if (handle.type === 'undefined') { val = undefined;