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