From 59ca56eddefc78bab87d7e8e074b3af843ab1bc3 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 6e7f91b1dc3bd9..71206324dc568c 100644 --- a/doc/api/timers.md +++ b/doc/api/timers.md @@ -130,15 +130,14 @@ of the Node.js application. added: v14.9.0 --> -* 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