diff --git a/lib/internal/errors.js b/lib/internal/errors.js index 0ee39432e38ae1..447db182eb2ee3 100644 --- a/lib/internal/errors.js +++ b/lib/internal/errors.js @@ -414,7 +414,7 @@ function uvException(ctx) { message += ` -> '${dest}'`; } - // Reducing the limit improves the performance significantly. We do not loose + // Reducing the limit improves the performance significantly. We do not lose // the stack frames due to the `captureStackTrace()` function that is called // later. const tmpLimit = Error.stackTraceLimit; @@ -465,7 +465,7 @@ function uvExceptionWithHostPort(err, syscall, address, port) { details = ` ${address}`; } - // Reducing the limit improves the performance significantly. We do not loose + // Reducing the limit improves the performance significantly. We do not lose // the stack frames due to the `captureStackTrace()` function that is called // later. const tmpLimit = Error.stackTraceLimit; @@ -539,7 +539,7 @@ function exceptionWithHostPort(err, syscall, address, port, additional) { details += ` - Local (${additional})`; } - // Reducing the limit improves the performance significantly. We do not loose + // Reducing the limit improves the performance significantly. We do not lose // the stack frames due to the `captureStackTrace()` function that is called // later. const tmpLimit = Error.stackTraceLimit; @@ -584,7 +584,7 @@ function dnsException(code, syscall, hostname) { } } const message = `${syscall} ${code}${hostname ? ` ${hostname}` : ''}`; - // Reducing the limit improves the performance significantly. We do not loose + // Reducing the limit improves the performance significantly. We do not lose // the stack frames due to the `captureStackTrace()` function that is called // later. const tmpLimit = Error.stackTraceLimit;