You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

386 B

same-amount

Instruction

Create a sameAmount function that takes three parameter, a data string and 2 regexes.

The objective is to confirm that the second and the third parameter matched the same amount of times in the first parameter.

Notions