Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
fix 'null' mirroring
  • Loading branch information
indutny authored and ry committed Sep 20, 2011
1 parent a0556fc commit b20c98e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/_debugger.js
Expand Up @@ -561,6 +561,8 @@ Client.prototype.mirrorObject = function(handle, depth, cb) {
return;
} else if (handle.type === 'function') {
val = function() {};
} else if (handle.type === 'null') {
val = null;
} else if (handle.value !== undefined) {
val = handle.value;
} else if (handle.type === 'undefined') {
Expand Down

0 comments on commit b20c98e

Please sign in to comment.