Skip to content

Commit e94abae

Browse files
vsemozhetbytMylesBorins
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 b36c315 commit e94abae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/buffer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1124,7 +1124,7 @@ Examples:
11241124
const buf = Buffer.from('this is a buffer');
11251125

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

11291129
// Prints: 2
11301130
console.log(buf.indexOf('is'));

0 commit comments

Comments
 (0)