public/subjects/same-amount/README.md

462 B

Same Amount

Instructions

Create a function named sameAmount, that takes three arguments: a string, and 2 regular expressions. Your function should return a boolean.

The objective is to confirm that the regular expressions match the string the same number of times.

Notions