mirror of
https://github.com/nodejs/node-v0.x-archive.git
synced 2026-04-28 03:01:10 -04:00
fix inspection of zero
This commit is contained in:
@@ -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