Skip to content

Commit f55926a

Browse files
JungMinuTrott
authored andcommitted
debugger: use strict equality comparison
There is no type-conversion to be done. Therefore, use the === operator. PR-URL: #2558 Reviewed-By: Rich Trott <[email protected]>
1 parent 607bbd3 commit f55926a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/_debugger.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ Client.prototype._addHandle = function(desc) {
173173

174174
this.handles[desc.handle] = desc;
175175

176-
if (desc.type == 'script') {
176+
if (desc.type === 'script') {
177177
this._addScript(desc);
178178
}
179179
};

0 commit comments

Comments
 (0)