doc: buffer: fix typo on Buffer.copyBytesFrom( offset option

PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
tpoisseau authored and Michaël Zasso committed 2025-02-17 10:45:07 +01:00
1 parent 1efd74b1b0
commit 44dd8a5cc2
1 file changed
+1 -1
+1 -1
View File
@@ -1098,7 +1098,7 @@ added:
-->
* `view` {TypedArray} The {TypedArray} to copy.
* `offset` {integer} The starting offset within `view`. **Default:**: `0`.
* `offset` {integer} The starting offset within `view`. **Default:** `0`.
* `length` {integer} The number of elements from `view` to copy.
**Default:** `view.length - offset`.
* Returns: {Buffer}