Essential JavaScript

Count Letters Kata

Given a word and a letter, return the number of times that letter appears in that word.

For example, if the word is "intersection" and the letter is "i", the result should be 2.

Code Editor