JS - uppercase to a string

0 votes
173 views
added Mar 18, 2022 in Javascript by lcjr First Warrant Officer (11,850 points)
edited Jul 25, 2022 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.
...