esamattis / esamattis/underscore.string
problem with humanize on camel cased string
Open
bug
- Dominant language
- JavaScript
- Stars
- 3.4k
- Forks
- 367
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
I noticed an interesting behavior in the _.humanize() method. When you have a camel cased string such as "eatABurrito" I would expect humanize to return "Eat a burrito" to be returned. Instead I get "Eat aburrito". For example:
```
_.humanize('thisIsATest')
=> 'This is atest'
// expected 'This is a test'
```
Thanks!
-- Dylan
Contributor guide
Assessment
This issue has not been assessed yet.