memanfaatkan MDN
let string = "hello World!";
let capitalizedString = string[0].toUpperCase() + string.slice(1);
// capitalizedString => Hello World!
Curious Tom
let string = "hello World!";
let capitalizedString = string[0].toUpperCase() + string.slice(1);
// capitalizedString => Hello World!