Write a JavaScript function that takes a string, then counts how many Consonants

Write a JavaScript function that takes a string, then counts how many Consonants in it. You need to consider capital case and small case letters.

2 posts were merged into an existing topic: Please help me out as soon as possible