We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, i came across an error in isVowel(c) where c was undefined and so c.match throwed an error:
isVowel(c)
function isVowel(c) { if(!c) return false; // i added this as a workaround return c.match(/[aeiouy]/i); }
This happened when isVowel gets called from handleH on line 223. I think the problem is that token[pos+1] is undefined.
handleH
token[pos+1]
function handleH() { // keep if starts a word or is surrounded by vowels if((pos == 0 || isVowel(token[pos - 1])) && isVowel(token[pos + 1])) { add('H'); pos++; } }
The text was updated successfully, but these errors were encountered:
ah, thanks. i'll address this shortly.
Sorry, something went wrong.
No branches or pull requests
Hi, i came across an error in
isVowel(c)
where c was undefined and so c.match throwed an error:This happened when isVowel gets called from
handleH
on line 223. I think the problem is thattoken[pos+1]
is undefined.The text was updated successfully, but these errors were encountered: