rem’s Twitter Archive
—№ 68,844
⇤ Newest
Tweet
⇠ Newer
Tweet
Older
Tweet
⇢
p01
aemkei
have you chaps seen a mini(er) version of "uppercase first char" in JS? I can't believe this is the shortest I could get it
(n=>n[0].toUpperCase()+n.slice(1))('number')
(where "number" is my string)
On twitter.com
Mention
2018 Dec 7
Mood
0