Fix typo in 9.16 (Sticky flag "y"...)

This commit is contained in:
Vse Mozhe Buty 2020-12-10 20:42:09 +02:00 committed by GitHub
parent 633db6fbe9
commit 04ce7283ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -93,7 +93,7 @@ The result is correct.
...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
let str = 'let varName = "value"';