mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
fix inspection of zero
This commit is contained in:
1 parent
44bebc0d52
commit
ff05beeef3
1 file changed
+1
-1
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user