Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
coyotte508
/
bergere-enchantee
like
2
License:
other
Model card
Files
Files and versions
Community
3
refs/pr/3
bergere-enchantee
/
src
/
lib
/
utils
/
upperFirst.ts
coyotte508
HF staff
π Fix page switching
c379e82
over 1 year ago
raw
Copy download link
history
blame
No virus
123 Bytes
export
function
upperFirst
(
s:
string
):
string
{
if
(!s) {
return
s;
}
return
s[
0
].
toLocaleUpperCase
() + s.
slice
(
1
);
}