en.javascript.info/9-regular-expressions/16-regexp-sticky
Will Atwood Mitchell ec81513954 Change var to let in 7.16 regexp-sticky
Commit 10d1b1f25 added a hint about which word would be found by
a certain regexp:

"A call to str.match(/\w+/) will find only the first word in the line
(var). That’s not it."

Unfortunately the result is incorrect: the regexp would find `let`, not
`var`.

Updating the hint should resolve any confusion. The example has been
tested in the console to ensure that the regexp does indeed return
`let`.
2020-11-01 14:41:55 -05:00
..
article.md Change var to let in 7.16 regexp-sticky 2020-11-01 14:41:55 -05:00