Question: JAVASCRIPT Write a function named isConsonant that accepts a character and returns true if the character an alphabetic character that is not a vowel, false
JAVASCRIPT
Write a function named isConsonant that accepts a character and returns true if the character an alphabetic character that is not a vowel, false otherwise. Your function must call isLetter and isVowel to solve this problem.
Examples:
isConsonant('Y') => false
isConsonant('a') => false
isConsonant('7') => false
isConsonant('n') => true
Step by Step Solution
There are 3 Steps involved in it
To solve this problem well need to create a JavaScript function called isConsonant This function wil... View full answer
Get step-by-step solutions from verified subject matter experts
