mirror of https://github.com/nodejs/node.git
doc: remove description duplication in buffer.md
PR-URL: https://github.com/nodejs/node/pull/27030 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>pull/27037/head
parent
4d2739453d
commit
1dd9662e2b
|
@ -530,7 +530,7 @@ console.log(buf);
|
|||
// Prints: <Buffer 00 00 00 00 00>
|
||||
```
|
||||
|
||||
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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue