The new JS function matchAll is going to be really useful.
Here's a JS quickie
longestVowelRunLength = string => [...string.matchAll(/[aeiou]+/g)].reduce((acc, [match]) => Math.max(acc, match.length), 0)
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.