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
.
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
.
Introduction
JavaScript Basics
Numbers
Strings
Logic
Variables
Loops
Objects
Arrays
Going Further