From 791cd76599ce17cb13244574adbd4d6b4fdb2688 Mon Sep 17 00:00:00 2001 From: Daniel Bevenius Date: Mon, 7 May 2018 15:37:57 +0200 Subject: [PATCH] net: remove typo in setTimeout comment This commit removes `lear` from the code comment in setTimeout. I'm not 100% sure this is a typo but I've struggled to think what it could mean. Hopefully someone else might be able to shed some light on this. --- lib/net.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/net.js b/lib/net.js index 6c475619117dc5..b4936558a82790 100644 --- a/lib/net.js +++ b/lib/net.js @@ -411,7 +411,7 @@ Socket.prototype.setTimeout = function(msecs, callback) { // Type checking identical to timers.enroll() msecs = validateTimerDuration(msecs); - // Attempt to clear an existing timer lear in both cases - + // Attempt to clear an existing timer in both cases - // even if it will be rescheduled we don't want to leak an existing timer. clearTimeout(this[kTimeout]);