From f050ecc3b1928f7ba7928874376fc150cd40abd5 Mon Sep 17 00:00:00 2001 From: Turner Jabbour Date: Mon, 14 Sep 2020 21:49:48 -0600 Subject: [PATCH] doc: fix small grammatical issues in timers.md PR-URL: https://github.com/nodejs/node/pull/35203 Reviewed-By: Anna Henningsen Reviewed-By: Rich Trott --- doc/api/timers.md | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/doc/api/timers.md b/doc/api/timers.md index 70c66785bf5a54..e2b27cfe334756 100644 --- a/doc/api/timers.md +++ b/doc/api/timers.md @@ -130,15 +130,14 @@ of the Node.js application. added: REPLACEME --> -* Returns: {integer} number that can be used to reference this `timeout` - -Coerce a `Timeout` to a primitive, a primitive will be generated that -can be used to clear the `Timeout`. -The generated number can only be used in the same thread where timeout -was created. Therefore to use it cross [`worker_threads`][] it has -to first be passed to a correct thread. -This allows enhanced compatibility with browser's `setTimeout()`, and -`setInterval()` implementations. +* Returns: {integer} a number that can be used to reference this `timeout` + +Coerce a `Timeout` to a primitive. The primitive can be used to +clear the `Timeout`. The primitive can only be used in the +same thread where the timeout was created. Therefore, to use it +across [`worker_threads`][] it must first be passed to the correct +thread. This allows enhanced compatibility with browser +`setTimeout()` and `setInterval()` implementations. ## Scheduling timers