Library
medium
MatchAll Kata
Write a function that takes a string and returns an array of matched patterns using String.prototype.matchAll().
medium
Match All Occurrences
Create a function that receives a string and a regular expression pattern and returns an array of all the occurrences of the pattern in the string using String.prototype.matchAll().