Solution to specify-exact-number-of-matches.english JavaScript Challenge (#34757)

* Update specify-exact-number-of-matches.english.md

Added an explanation to the working code too

* fix: removed i flag and comments
This commit is contained in:
Aashis kumar
2019-03-05 23:42:55 +05:30
committed by Paul Gamble
parent 6f9dbbb2a5
commit 960811e31f

View File

@ -60,6 +60,8 @@ let result = timRegex.test(timStr);
<section id='solution'>
```js
// solution required
let timStr = "Timmmmber";
let timRegex = /Tim{4}ber/; // Change this line
let result = timRegex.test(timStr);
```
</section>