0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00

debugger: use strict equality comparison

There is no type-conversion to be done. Therefore, use the === operator.

PR-URL: https://github.com/nodejs/node/pull/2558
Reviewed-By: Rich Trott <rtrott@gmail.com>
This commit is contained in:
Minwoo Jung 2015-08-26 21:17:52 +09:00 committed by Rich Trott
parent 607bbd3166
commit f55926a1f0

View File

@ -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);
}
};