diff --git a/doc/api/buffer.md b/doc/api/buffer.md index f5e5dd2f765538..fb99c70b196bee 100644 --- a/doc/api/buffer.md +++ b/doc/api/buffer.md @@ -530,7 +530,7 @@ console.log(buf); // Prints: ``` -Allocates a new `Buffer` of `size` bytes. If `size` is larger than +If `size` is larger than [`buffer.constants.MAX_LENGTH`] or smaller than 0, [`ERR_INVALID_OPT_VALUE`] is thrown. A zero-length `Buffer` is created if `size` is 0.