Skip to content

Commit

Permalink
doc: fix typo in Buffer.prototype.fill()
Browse files Browse the repository at this point in the history
Refs: nodejs#17427
PR-URL: nodejs#17501
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
  • Loading branch information
cjihrig committed Dec 6, 2017
1 parent cd174df commit 70f23ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/buffer.md
Original file line number Diff line number Diff line change
Expand Up @@ -1276,7 +1276,7 @@ const buf = Buffer.allocUnsafe(5);
console.log(buf.fill('a'));
// Prints: <Buffer aa aa aa aa aa>
console.log(buf.fill('aazz', 'hex'));
// Throws a exception.
// Throws an exception.
console.log(buf.fill('zz', 'hex'));
```

Expand Down

0 comments on commit 70f23ec

Please sign in to comment.