doc: fix a syntax error in the buffer.md

PR-URL: https://github.com/nodejs/node/pull/9795
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
This commit is contained in:
Vse Mozhet Byt authored and Myles Borins committed 2017-03-08 17:10:17 -08:00
1 parent b36c315423
commit e94abaec1c
1 file changed
+1 -1
+1 -1
View File
@@ -1124,7 +1124,7 @@ Examples:
const buf = Buffer.from('this is a buffer');
// Prints: 0
console.log(buf.indexOf('this')));
console.log(buf.indexOf('this'));
// Prints: 2
console.log(buf.indexOf('is'));