mirror of https://github.com/status-im/consul.git
4 lines
95 B
JavaScript
4 lines
95 B
JavaScript
export default function(str) {
|
|||
return `${str.substr(0, 1).toUpperCase()}${str.substr(1)}`;
|
|||
}
|