diff options
author | cjihrig <cjihrig@gmail.com> | 2017-12-06 12:52:26 -0500 |
---|---|---|
committer | cjihrig <cjihrig@gmail.com> | 2017-12-06 13:02:25 -0500 |
commit | 70f23ec9c0d602d33d0401e7e86a266e9519050b (patch) | |
tree | a0107b17e8ece75ffdcfc3af04633e31c2684588 /doc | |
parent | cd174df353e78cde9181299adbf501a4a694dee8 (diff) | |
download | node-new-70f23ec9c0d602d33d0401e7e86a266e9519050b.tar.gz |
doc: fix typo in Buffer.prototype.fill()
Refs: https://github.com/nodejs/node/pull/17427
PR-URL: https://github.com/nodejs/node/pull/17501
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/buffer.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/buffer.md b/doc/api/buffer.md index aab6840f76..6f66ae3762 100644 --- a/doc/api/buffer.md +++ b/doc/api/buffer.md @@ -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')); ``` |