"A piece of JavaScript code that when given a string will return the number of times words in that string appear."
Counting how many times a word appears in a string
"A piece of JavaScript code that when given a string will return the number of times words in that string appear."
Counting how many times a word appears in a string