programming-examples/js/String/Uncapitalize the first character of a string.js
2019-11-15 12:59:38 +01:00

4 lines
145 B
JavaScript

function Uncapitalize(str1){
return str1.charAt(0).toLowerCase() + str1.slice(1);
}
console.log(Uncapitalize('Js string exercises'));