Skip to content

Commit 70f23ec

Browse files
committed
doc: fix typo in Buffer.prototype.fill()
Refs: nodejs#17427 PR-URL: nodejs#17501 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
1 parent cd174df commit 70f23ec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

doc/api/buffer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1276,7 +1276,7 @@ const buf = Buffer.allocUnsafe(5);
12761276
console.log(buf.fill('a'));
12771277
// Prints: <Buffer aa aa aa aa aa>
12781278
console.log(buf.fill('aazz', 'hex'));
1279-
// Throws a exception.
1279+
// Throws an exception.
12801280
console.log(buf.fill('zz', 'hex'));
12811281
```
12821282

0 commit comments

Comments
 (0)