From f89568e82569b983b6efb96088465cb472bc5e8c Mon Sep 17 00:00:00 2001 From: Vse Mozhet Byt Date: Sun, 31 Mar 2019 11:14:42 +0300 Subject: [PATCH] doc: fix possible typo in buffer.md PR-URL: https://github.com/nodejs/node/pull/27030 Reviewed-By: Luigi Pinca Reviewed-By: Ruben Bridgewater --- doc/api/buffer.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/buffer.md b/doc/api/buffer.md index fb99c70b196..d238b61d2a3 100644 --- a/doc/api/buffer.md +++ b/doc/api/buffer.md @@ -1034,7 +1034,7 @@ changes: compare `buf`. * `targetStart` {integer} The offset within `target` at which to begin comparison. **Default:** `0`. -* `targetEnd` {integer} The offset with `target` at which to end comparison +* `targetEnd` {integer} The offset within `target` at which to end comparison (not inclusive). **Default:** `target.length`. * `sourceStart` {integer} The offset within `buf` at which to begin comparison. **Default:** `0`.