3 lines
133 B
JavaScript
3 lines
133 B
JavaScript
export const capitalizeFirstLetter = (s = '') => s.charAt(0).toUpperCase() + s.slice(1);
|
|
|
|
export default { capitalizeFirstLetter }; |