Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[debugger] fix for #1707

  • Loading branch information...
commit 83fe05b8365ee60e6511a526b6b035ed0fe92830 1 parent 1b15af9
@indutny authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  lib/_debugger.js
View
3  lib/_debugger.js
@@ -732,7 +732,8 @@ function Interface() {
};
for (var i in proto) {
- if (proto.hasOwnProperty(i) && ignored.indexOf(i) === -1) {
+ if (Object.prototype.hasOwnProperty.call(proto, i) &&
+ ignored.indexOf(i) === -1) {
defineProperty(i, i);
if (shortcut[i]) defineProperty(shortcut[i], i);
}
Please sign in to comment.
Something went wrong with that request. Please try again.