Capitalize the first letter of each word in a string using JavaScript

Capitalize the first letter of each word in a string using JavaScript

More to explore

Based on this image's title: “Capitalize the first letter of each word in a string using JavaScript