doc: fix possible typo in buffer.md · nodejs/node@231eff9 (original) (raw)

Original file line number Diff line number Diff line change
@@ -1034,7 +1034,7 @@ changes:
1034 1034 compare `buf`.
1035 1035 * `targetStart` {integer} The offset within `target` at which to begin
1036 1036 comparison. **Default:** `0`.
1037 -* `targetEnd` {integer} The offset with `target` at which to end comparison
1037 +* `targetEnd` {integer} The offset within `target` at which to end comparison
1038 1038 (not inclusive). **Default:** `target.length`.
1039 1039 * `sourceStart` {integer} The offset within `buf` at which to begin comparison.
1040 1040 **Default:** `0`.