Helper method to convert a string into camelCase (such as one used for i18n keys).
camelCase
The string being converted
The result of converting str into camel case.
str
console.log(toCamelCase("BIG_ANGRY_TRAINER")); // returns "bigAngryTrainer" Copy
console.log(toCamelCase("BIG_ANGRY_TRAINER")); // returns "bigAngryTrainer"
Helper method to convert a string into
camelCase
(such as one used for i18n keys).