js practice

Find the largest number of occurrences of the letter