Add solution to find more than one challenge (#27476)
This commit is contained in:
		
				
					committed by
					
						 Paul Gamble
						Paul Gamble
					
				
			
			
				
	
			
			
			
						parent
						
							13b3e3fa9b
						
					
				
				
					commit
					6a777a9b16
				
			| @@ -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> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user