Track JavaScript (Legacy)
JavaScript (Legacy) track

Word Count

An exercise from the JavaScript (Legacy) track
easy

About this exercise

Given a phrase, count the occurrences of each word in that phrase.

control flow loops
lists
regular expressions
strings
unicode
View all solutions