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>
pull/2424/merge
Minwoo Jung 2015-08-26 21:17:52 +09:00 committed by Rich Trott
parent 607bbd3166
commit f55926a1f0
1 changed files with 1 additions and 1 deletions

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