projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44bebc0
)
fix inspection of zero
author
Fedor Indutny
<fedor.indutny@gmail.com>
Tue, 20 Sep 2011 08:14:41 +0000
(15:14 +0700)
committer
Ryan Dahl
<ry@tinyclouds.org>
Tue, 20 Sep 2011 15:35:15 +0000
(08:35 -0700)
lib/_debugger.js
patch
|
blob
|
history
diff --git
a/lib/_debugger.js
b/lib/_debugger.js
index 9bac859eba8aff678523c11e91f4ab5967445a9c..1f6f9fe7d5ee88caa6c8ffb629cdefa862fa34e7 100644
(file)
--- a/
lib/_debugger.js
+++ b/
lib/_debugger.js
@@
-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;