| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1124,7 +1124,7 @@ Examples: | |||
| 1124 | 1124 | const buf = Buffer.from('this is a buffer'); | |
| 1125 | 1125 | ||
| 1126 | 1126 | // Prints: 0 | |
| 1127 | - console.log(buf.indexOf('this'))); | ||
| 1127 | + console.log(buf.indexOf('this')); | ||
| 1128 | 1128 | ||
| 1129 | 1129 | // Prints: 2 | |
| 1130 | 1130 | console.log(buf.indexOf('is')); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments