4 ms·
That’s also just a one line function with template literals in JS, if by Titlecase you mean upper casing the first character. Maybe a bit overkill to bake into
by spyke112 3y ago
That’s also just a one line function with template literals in JS, if by Titlecase you mean upper casing the first character. Maybe a bit overkill to bake into a stdlib.
- charlie0 3y agoIt's not about ease, it's about frequency of use. If it's used often, it should be in a stdlib.