This website requires JavaScript.
Explore
关于
Help
Register
Sign In
github
/
consul
mirror of
https://github.com/hashicorp/consul
Watch
1
Star
0
Fork
You've already forked consul
0
Code
Issues
Projects
Releases
Wiki
Activity
bf4bcdd670
consul
/
ui-v2
/
app
/
utils
/
ucfirst.js
4 lines
95 B
JavaScript
Raw
Blame
History
export
default
function
(
str
)
{
return
`
${
str
.
substr
(
0
,
1
)
.
toUpperCase
(
)
}
${
str
.
substr
(
1
)
}
`
;
}
Reference in New Issue
View Git Blame
Copy Permalink