Browse Source

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>
v6
Vse Mozhet Byt 8 years ago
committed by Anna Henningsen
parent
commit
8fbcf78d85
No known key found for this signature in database GPG Key ID: D8B9F5AEAE84E4CF
  1. 2
      doc/api/buffer.md

2
doc/api/buffer.md

@ -1122,7 +1122,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'));

Loading…
Cancel
Save