Skip to content

Commit 9e47b94

Browse files
vsemozhetbytaddaleax
authored andcommitted
doc: fix a syntax error in the buffer.md
PR-URL: #9795 Reviewed-By: Sam Roberts <[email protected]> Reviewed-By: Roman Reiss <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
1 parent 1864222 commit 9e47b94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/buffer.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1122,7 +1122,7 @@ Examples:
11221122
const buf = Buffer.from('this is a buffer');
11231123

11241124
// Prints: 0
1125-
console.log(buf.indexOf('this')));
1125+
console.log(buf.indexOf('this'));
11261126

11271127
// Prints: 2
11281128
console.log(buf.indexOf('is'));

0 commit comments

Comments
 (0)