Skip to content

Commit 04ce728

Browse files
authored
Fix typo in 9.16 (Sticky flag "y"...)
1 parent 633db6f commit 04ce728

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

9-regular-expressions/16-regexp-sticky/article.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ The result is correct.
9393

9494
...But wait, not so fast.
9595

96-
Please note: the `regexp.exec` call start searching at position `lastIndex` and then goes further. If there's no word at position `lastIndex`, but it's somewhere after it, then it will be found:
96+
Please note: the `regexp.exec` call starts searching at position `lastIndex` and then goes further. If there's no word at position `lastIndex`, but it's somewhere after it, then it will be found:
9797

9898
```js run
9999
let str = 'let varName = "value"';

0 commit comments

Comments
 (0)