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

1 Expert Approved Answer
Step: 1 Unlock

To solve this problem well need to create a JavaScript function called isConsonant This function wil... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!