JSFiddle - React, Tailwind, and code Playground

by Alex Slepenkov

JavaScript

function ucFirst(str){
var upper = str[0].toUpperCase()  + str.slice(1);
return upper;
}
alert ( ucFirst("хуй") )