capitalizeFirstLetter
Returns a string with the first character converted to uppercase and the rest of the string unchanged.
let myString = "i love sniper.js";
mystring.capitalizeFirstLetter() // I love sniper.js
Last updated
Returns a string with the first character converted to uppercase and the rest of the string unchanged.
let myString = "i love sniper.js";
mystring.capitalizeFirstLetter() // I love sniper.js
Last updated