diff --git a/lib/_debugger.js b/lib/_debugger.js index ed71c668f316b7..518f8ee28a9a76 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); } };