JavaScript: Capitalizing the First Letter of Each Word in a Sentence

Explained Solution to a Popular Interview Question

Bahay Gulle Bilgi
DataDrivenInvestor
Published in
3 min readOct 11, 2020

--

Image by PIRO4D from Pixabay

Last week, I was asked to solve one of the most common questions on a technical interview for a software engineer role and I wanted to share my solution with you in today’s article. The challenge was asking to write a program that capitalizes the first letter of

--

--