diff --git a/lib/_debugger.js b/lib/_debugger.js index b042df554ffdc1..9f8fa26f2189c3 100644 --- a/lib/_debugger.js +++ b/lib/_debugger.js @@ -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); } };