Skip to content

Commit

Permalink
debugger: use strict equality comparison
Browse files Browse the repository at this point in the history
There is no type-conversion to be done. Therefore, use the === operator.

PR-URL: #2558
Reviewed-By: Rich Trott <[email protected]>
  • Loading branch information
JungMinu authored and rvagg committed Aug 27, 2015
1 parent 3492d2d commit 395d736
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/_debugger.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ Client.prototype._addHandle = function(desc) {

this.handles[desc.handle] = desc;

if (desc.type == 'script') {
if (desc.type === 'script') {
this._addScript(desc);
}
};
Expand Down

0 comments on commit 395d736

Please sign in to comment.