summaryrefslogtreecommitdiff
path: root/doc/api/v8.md
diff options
context:
space:
mode:
authorBeni von Cheni <benjaminlchen@gmail.com>2019-02-26 01:30:23 -0500
committerAnna Henningsen <anna@addaleax.net>2019-03-02 14:21:13 +0100
commitbc5771ec9142c1fb10f1a5fdb6e830ac47f46ff4 (patch)
tree1d949ab3c34f8c4561c95b1af67c6ba60452205c /doc/api/v8.md
parent123fad6e1cb1333f9af3b9aa17919291ed54d39a (diff)
downloadnode-new-bc5771ec9142c1fb10f1a5fdb6e830ac47f46ff4.tar.gz
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.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/v8.md b/doc/api/v8.md
index 92fdf867e2..04866d92e3 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).