loading...

re: Daily Challenge #80 - Longest Vowel Change VIEW POST

FULL DISCUSSION
 

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)
code of conduct - report abuse