Update article.md
the match position is 7
This commit is contained in:
parent
2d5be7b730
commit
980f487a11
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ It has 3 modes:
|
|||
alert( result.length ); // 2
|
||||
|
||||
// Additional information:
|
||||
alert( result.index ); // 0 (match position)
|
||||
alert( result.index ); // 7 (match position)
|
||||
alert( result.input ); // I love JavaScript (source string)
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue