Uppercase the First Character of a String in JavaScript or Node.js
Changing only the first character of a string value in JavaScript may happen when you scaffold files or code in your projects. You may want to ensure a specific casing for your method or class names. For example, you could ensure a class name always starts with an uppercase character. …
Continue Reading