Skip to content

Commit 4cd6b3c

Browse files
tpoisseaumarco-ippolito
authored andcommitted
doc: buffer: fix typo on Buffer.copyBytesFrom( offset option
PR-URL: #57015 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 0122060 commit 4cd6b3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/buffer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1096,7 +1096,7 @@ added: v19.8.0
10961096
-->
10971097

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

0 commit comments

Comments
 (0)