diff --git a/lib/internal/worker.js b/lib/internal/worker.js index 2cffb77e521978..505b83fe56ddf6 100644 --- a/lib/internal/worker.js +++ b/lib/internal/worker.js @@ -72,7 +72,6 @@ Object.setPrototypeOf(MessagePort.prototype, EventEmitter.prototype); // Finally, purge methods we don't want to be public. delete MessagePort.prototype.stop; delete MessagePort.prototype.drain; -delete MessagePort.prototype.hasRef; MessagePort.prototype.ref = MessagePortPrototype.ref; MessagePort.prototype.unref = MessagePortPrototype.unref;