Merge pull request #2381 from vsemozhetbyt/patch-11
Fix typo in 9.16 (Sticky flag "y"...)
This commit is contained in:
commit
16fda1bed2
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ The result is correct.
|
||||||
|
|
||||||
...But wait, not so fast.
|
...But wait, not so fast.
|
||||||
|
|
||||||
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:
|
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:
|
||||||
|
|
||||||
```js run
|
```js run
|
||||||
let str = 'let varName = "value"';
|
let str = 'let varName = "value"';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue