Skip to content

Commit f475e79

Browse files
vsemozhetbytBethGriggs
authored andcommitted
doc: remove description duplication in buffer.md
PR-URL: #27030 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
1 parent aa6a741 commit f475e79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/buffer.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ console.log(buf);
530530
// Prints: <Buffer 00 00 00 00 00>
531531
```
532532

533-
Allocates a new `Buffer` of `size` bytes. If `size` is larger than
533+
If `size` is larger than
534534
[`buffer.constants.MAX_LENGTH`] or smaller than 0, [`ERR_INVALID_OPT_VALUE`] is
535535
thrown. A zero-length `Buffer` is created if `size` is 0.
536536

0 commit comments

Comments
 (0)