Browse Source

fix inspection of zero

Fedor Indutny 13 years ago
committed by Ryan Dahl
parent
commit
ff05beeef3
  1. 2
      lib/_debugger.js

2
lib/_debugger.js

@ -561,7 +561,7 @@ Client.prototype.mirrorObject = function(handle, depth, cb) {
return; return;
} else if (handle.type === 'function') { } else if (handle.type === 'function') {
val = function() {}; val = function() {};
} else if (handle.value) { } else if (handle.value !== undefined) {
val = handle.value; val = handle.value;
} else if (handle.type === 'undefined') { } else if (handle.type === 'undefined') {
val = undefined; val = undefined;

Loading…
Cancel
Save