You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let nutrient = "vitaminB3"
print(nutrient.startCase)
// prints "Vitamin 3", but I expected "Vitamin B3"
A similar thing happens for snakeCase. I've gone and inspected Cent's internal .words() function, and it seems to be the culprit, since the array would be ["vitamin", "3"] instead of ["vitamin", "B3"]
The text was updated successfully, but these errors were encountered:
A similar thing happens for
snakeCase
. I've gone and inspected Cent's internal.words()
function, and it seems to be the culprit, since the array would be["vitamin", "3"]
instead of["vitamin", "B3"]
The text was updated successfully, but these errors were encountered: