JS - uppercase to a string

0 votes
72 views
added Mar 18 in Javascript by lcjr First Warrant Officer (9,190 points)
edited Jul 25 by lcjr
const brandBame = brandPath.charAt(0).toUpperCase() + brandPath.slice(1);

// output  Lazacode org

 

lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...