Skip to content

Commit 0e88ae7

Browse files
theoludwigtargos
authored andcommitted
doc: fix typo in buffer.md
'uint16arr' -> 'uint16array' PR-URL: #38323 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Darshan Sen <[email protected]>
1 parent 7354479 commit 0e88ae7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/buffer.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ console.log(uint32array);
205205

206206
```js
207207
const buf = Buffer.from('hello', 'utf16le');
208-
const uint16arr = new Uint16Array(
208+
const uint16array = new Uint16Array(
209209
buf.buffer,
210210
buf.byteOffset,
211211
buf.length / Uint16Array.BYTES_PER_ELEMENT);

0 commit comments

Comments
 (0)