function ucFirst(str) { var b = str.substring(1); var a = str.charAt().toUpperCase(); console.log(a + b); } ucFirst('вася'); Write the function ucFirst(str) , which returns the string str with the first capital character, for example: "Vasya" ;
Such a decision in this project will be norms or not.