string.js 110 B

123
  1. export function uppercaseFirstLetter(string) {
  2. return string.charAt(0).toUpperCase() + string.slice(1);
  3. }