diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/buffer.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/buffer.md b/doc/api/buffer.md index 713024a21b..2d37c65b8d 100644 --- a/doc/api/buffer.md +++ b/doc/api/buffer.md @@ -1458,7 +1458,7 @@ changes: * `value` {string|Buffer|Uint8Array|integer} What to search for. * `byteOffset` {integer} Where to begin searching in `buf`. If negative, then offset is calculated from the end of `buf`. **Default:** - [`buf.length`][] `- 1`. + `buf.length - 1`. * `encoding` {string} If `value` is a string, this is the encoding used to determine the binary representation of the string that will be searched for in `buf`. **Default:** `'utf8'`. |