Skip to content

Commit 44dd8a5

Browse files
tpoisseautargos
authored andcommitted
doc: buffer: fix typo on Buffer.copyBytesFrom( offset option
PR-URL: #57015 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 1efd74b commit 44dd8a5

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
@@ -1098,7 +1098,7 @@ added:
10981098
-->
10991099

11001100
* `view` {TypedArray} The {TypedArray} to copy.
1101-
* `offset` {integer} The starting offset within `view`. **Default:**: `0`.
1101+
* `offset` {integer} The starting offset within `view`. **Default:** `0`.
11021102
* `length` {integer} The number of elements from `view` to copy.
11031103
**Default:** `view.length - offset`.
11041104
* Returns: {Buffer}

0 commit comments

Comments
 (0)