fix inspection of zero

This commit is contained in:
Fedor Indutny authored and Ryan Dahl committed 2011-09-20 08:35:15 -07:00
1 parent 44bebc0d52
commit ff05beeef3
1 file changed
+1 -1
+1 -1
View File
@@ -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;