Skip to content
Browse files

[debugger] fix for #1707

  • Loading branch information...
1 parent 1b15af9 commit 83fe05b8365ee60e6511a526b6b035ed0fe92830 @indutny committed
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);
}

0 comments on commit 83fe05b

Please sign in to comment.
Something went wrong with that request. Please try again.