Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0e88ae7

Browse filesBrowse files
theoludwigtargos
authored andcommitted
doc: fix typo in buffer.md
'uint16arr' -> 'uint16array' PR-URL: #38323 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com>
1 parent 7354479 commit 0e88ae7
Copy full SHA for 0e88ae7

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎doc/api/buffer.md‎

Copy file name to clipboardExpand all lines: doc/api/buffer.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.