JavaScript Exercises Basic#10 - Counting specific alphabet from the string
You will be given a string and a random alphabet. Write a program which returns how many of the alphabet has been used in the string.
Result Example
Solution
Declare a variable called 'answer' to store the count and initiate it with 0.
Use for...of...
reyjang.hashnode.dev1 min read