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 Trott committed Aug 26, 2015
1 parent 607bbd3 commit f55926a
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 f55926a

Please sign in to comment.