Add solution to find more than one challenge (#27476)

This commit is contained in:
Joe Erickson 2019-01-24 15:29:23 -05:00 committed by Paul Gamble
parent 13b3e3fa9b
commit 6a777a9b16

View File

@ -57,6 +57,8 @@ let result = twinkleStar; // Change this line
<section id='solution'>
```js
// solution required
let twinkleStar = "Twinkle, twinkle, little star";
let starRegex = /twinkle/gi;
let result = twinkleStar.match(starRegex);
```
</section>