Back to All Challenges
Back to all challenges

Mismatched Logic in Count Vowels Function

Solve the "Mismatched Logic in Count Vowels Function" intermediate challenge. Focus: javascript logic.

intermediatejavascript

Terminal

user@debugger:~/project$ node app.js
The function may incorrectly count vowels, returning a higher value than expected due to improper logical checks.
user@debugger:~/project$
Test Cases (Click to expand)