Increase the count for the current letter. Goal: When the same letter appears again, add one to its saved count.
Treat a string as a sequence of characters.
One loop adds counts; the next loop subtracts them.
Drag tokens into the blanks
1// Goal: When the same letter appears again, add one to its saved count.2function starterExample() {3const counts = { a: 1 };4 counts.a ___ 1;5}