diff --git a/doc/api/buffer.md b/doc/api/buffer.md index aab6840f7643f2..6f66ae3762b2ec 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: console.log(buf.fill('aazz', 'hex')); -// Throws a exception. +// Throws an exception. console.log(buf.fill('zz', 'hex')); ```