Capitalizing Strings in JavaScript

1 · · Nov. 28, 2019, midnight
Summary
I love JavaScript, but it’s lack of built-in string manipulation in comparison to PHP is lacking. Sure, you could pull in a third-party dependency for your string manipulation needs, but oftentimes that carries way more weight than you probably want in your application. Even though JavaScript lacks the baked-in goodies, it still comes with more than enough functionality to make it easy to handle capitalization tasks. Getting started Since we’re going to be using pure JavaScript, there’s nothing ...