Track TypeScript
TypeScript track

Word Count

An exercise from the TypeScript 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