diff options
author | Beni von Cheni <benjaminlchen@gmail.com> | 2019-02-26 09:30:23 +0300 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2019-03-02 16:10:30 +0300 |
commit | 8f87080fcd05cdd9cddccf055c68f1da30fc7332 (patch) | |
tree | f8209d1a102626eb6f4d4fb17fe732d305128a25 /doc/api/v8.md | |
parent | 536e062c2c9de936a5b3b156d3cd840a7068c0e5 (diff) |
doc: correct typos in various docs
PR-URL: https://github.com/nodejs/node/pull/26312
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'doc/api/v8.md')
-rw-r--r-- | doc/api/v8.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/v8.md b/doc/api/v8.md index 92fdf867e22..04866d92e39 100644 --- a/doc/api/v8.md +++ b/doc/api/v8.md @@ -224,7 +224,7 @@ if a previous write has failed. * `id` {integer} A 32-bit unsigned integer. * `arrayBuffer` {ArrayBuffer} An `ArrayBuffer` instance. -Marks an `ArrayBuffer` as havings its contents transferred out of band. +Marks an `ArrayBuffer` as having its contents transferred out of band. Pass the corresponding `ArrayBuffer` in the deserializing context to [`deserializer.transferArrayBuffer()`][]. @@ -328,7 +328,7 @@ Deserializes a JavaScript value from the buffer and returns it. * `id` {integer} A 32-bit unsigned integer. * `arrayBuffer` {ArrayBuffer|SharedArrayBuffer} An `ArrayBuffer` instance. -Marks an `ArrayBuffer` as havings its contents transferred out of band. +Marks an `ArrayBuffer` as having its contents transferred out of band. Pass the corresponding `ArrayBuffer` in the serializing context to [`serializer.transferArrayBuffer()`][] (or return the `id` from [`serializer._getSharedArrayBufferId()`][] in the case of `SharedArrayBuffer`s). |