diff --git a/doc/api/buffer.md b/doc/api/buffer.md index d1b86d334b1f9c..33a6d7f8ef30a8 100644 --- a/doc/api/buffer.md +++ b/doc/api/buffer.md @@ -1226,7 +1226,7 @@ added: v6.0.0 * `value` {String | Buffer | Integer} What to search for * `byteOffset` {Integer} Where to begin searching in `buf`. - **Default:** [`buf.length`] + **Default:** [`buf.length`]` - 1` * `encoding` {String} If `value` is a string, this is its encoding. **Default:** `'utf8'` * Returns: {Integer} The index of the last occurrence of `value` in `buf` or `-1`