2 lines
80 B
JavaScript
2 lines
80 B
JavaScript
|
export const capitalise = s => s.substring(0, 1).toUpperCase() + s.substring(1)
|