mirror of https://github.com/01-edu/public.git
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.
14 lines
386 B
14 lines
386 B
5 years ago
|
## 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
|
||
|
|
||
|
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions#Using_regular_expressions_in_JavaScript
|