DEV Community

Discussion on: Web Basics: How to Capitalize a Word in JavaScript

Collapse
 
samanthaming profile image
Samantha Ming

Woo, I love this solution! Nice use to the falsy value to check the first character (cause 0 is false). Thanks for sharing ๐Ÿ’ฏ