summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Bevenius <daniel.bevenius@gmail.com>2020-05-08 08:21:50 +0200
committerMichaël Zasso <targos@protonmail.com>2020-05-10 14:09:39 +0200
commit2fa86b818bb85d0aade89d4dcd4765e439ce7a01 (patch)
treeaf5eee076a8fedb77ef7bbbca7cab665fd4248aa
parent34d92b78ab93e86168a2ddfe633eea42958bdd9d (diff)
downloadnode-new-2fa86b818bb85d0aade89d4dcd4765e439ce7a01.tar.gz
lib: fix typo in timers insert function comment
PR-URL: https://github.com/nodejs/node/pull/33301 Reviewed-By: Zeyu Yang <himself65@outlook.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
-rw-r--r--lib/internal/timers.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/internal/timers.js b/lib/internal/timers.js
index bb80f57ee2..1577e31779 100644
--- a/lib/internal/timers.js
+++ b/lib/internal/timers.js
@@ -338,7 +338,7 @@ function insertGuarded(item, refed, start) {
}
function insert(item, msecs, start = getLibuvNow()) {
- // Truncate so that accuracy of sub-milisecond timers is not assumed.
+ // Truncate so that accuracy of sub-millisecond timers is not assumed.
msecs = MathTrunc(msecs);
item._idleStart = start;