Tell us what’s happening:
let quoteSample = "Beware of bugs in the above code; I have only proved it correct, not tried it."; let vowelRegex = /[aeiou]/gi; // Change this line let result = vowelRegex.match(quoteSample); // Change this line
In searching for help on this one, I ran across the creator’s thread on FCC which has the solution. Even copying/pasting the solution didn’t work, which only differs from mine in the last line:
His last line:
var result = vowelRegex.match(quoteSample).length.
Your browser information:
User Agent is:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36.