Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 980f487

Browse files
author
start
authored
Update article.md
the match position is 7
1 parent 2d5be7b commit 980f487

File tree

1 file changed

+1
-1
lines changed
  • 9-regular-expressions/17-regexp-methods

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)

AltStyle によって変換されたページ (->オリジナル) /