summaryrefslogtreecommitdiff
path: root/doc/api/buffer.md
diff options
context:
space:
mode:
authorcjihrig <cjihrig@gmail.com>2017-12-06 12:52:26 -0500
committercjihrig <cjihrig@gmail.com>2017-12-06 13:02:25 -0500
commit70f23ec9c0d602d33d0401e7e86a266e9519050b (patch)
treea0107b17e8ece75ffdcfc3af04633e31c2684588 /doc/api/buffer.md
parentcd174df353e78cde9181299adbf501a4a694dee8 (diff)
downloadandroid-node-v8-70f23ec9c0d602d33d0401e7e86a266e9519050b.tar.gz
android-node-v8-70f23ec9c0d602d33d0401e7e86a266e9519050b.tar.bz2
android-node-v8-70f23ec9c0d602d33d0401e7e86a266e9519050b.zip
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/api/buffer.md')
-rw-r--r--doc/api/buffer.md2
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'));
```