Skip to content
This repository was archived by the owner on Apr 22, 2023. It is now read-only.

Commit 5e503f4

Browse files
brendanashworthJulien Gilli
authored andcommitted
doc: fix grammar in tls and timers
Replace 'a' with 'an' where appropriate.
1 parent 8c86898 commit 5e503f4

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

doc/api/timers.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ you can also pass arguments to the callback.
2828

2929
## clearInterval(intervalObject)
3030

31-
Stops a interval from triggering.
31+
Stops an interval from triggering.
3232

3333
## unref()
3434

doc/api/tls.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ automatically set as a listener for the [secureConnection][] event. The
197197
SecureContext). If `SNICallback` wasn't provided - default callback with
198198
high-level API will be used (see below).
199199

200-
- `sessionIdContext`: A string containing a opaque identifier for session
200+
- `sessionIdContext`: A string containing an opaque identifier for session
201201
resumption. If `requestCert` is `true`, the default is MD5 hash value
202202
generated from command-line. Otherwise, the default is not provided.
203203

@@ -421,7 +421,7 @@ connections using TLS or SSL.
421421
`function (cleartextStream) {}`
422422

423423
This event is emitted after a new connection has been successfully
424-
handshaked. The argument is a instance of [CleartextStream][]. It has all the
424+
handshaked. The argument is an instance of [CleartextStream][]. It has all the
425425
common stream methods and events.
426426

427427
`cleartextStream.authorized` is a boolean value which indicates if the

0 commit comments

Comments
 (0)