diff --git a/doc/api/buffer.md b/doc/api/buffer.md index 5ae03e45b69cac..51a59d91bdc011 100644 --- a/doc/api/buffer.md +++ b/doc/api/buffer.md @@ -1224,7 +1224,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`