mirror of https://github.com/nodejs/node.git
fix inspection of zero
parent
44bebc0d52
commit
ff05beeef3
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue