Skip to content

Commit

Permalink
doc: fix typo in Buffer API
Browse files Browse the repository at this point in the history
PR-URL: #25544
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
  • Loading branch information
H1Gdev authored and MylesBorins committed May 16, 2019
1 parent 3e9d992 commit 92d0794
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/buffer.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ elements, and not as a byte array of the target type. That is,
`[0x1020304]` or `[0x4030201]`.

It is possible to create a new `Buffer` that shares the same allocated memory as
a [`TypedArray`] instance by using the `TypeArray` object's `.buffer` property.
a [`TypedArray`] instance by using the `TypedArray` object's `.buffer` property.

```js
const arr = new Uint16Array(2);
Expand Down

0 comments on commit 92d0794

Please sign in to comment.