Skip to content

Commit 1f2987d

Browse files
authored
Merge pull request #2237 from plakxj/patch-1
Update article.md
2 parents 879cfa0 + 980f487 commit 1f2987d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

9-regular-expressions/17-regexp-methods/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ It has 3 modes:
2020
alert( result.length ); // 2
2121

2222
// Additional information:
23-
alert( result.index ); // 0 (match position)
23+
alert( result.index ); // 7 (match position)
2424
alert( result.input ); // I love JavaScript (source string)
2525
```
2626

0 commit comments

Comments
 (0)