Converts a string to camelCase. Replaces hyphens (-), underscores (_), and spaces with capitalization of the following letter, and ensures the first character is lowercase.
-
_
The input string to convert.
The camelCased version of the input string.
camelCase('my_tab-name'); // 'myTabName'camelCase('Hello World'); // 'helloWorld' Copy
camelCase('my_tab-name'); // 'myTabName'camelCase('Hello World'); // 'helloWorld'
Converts a string to camelCase. Replaces hyphens (
-), underscores (_), and spaces with capitalization of the following letter, and ensures the first character is lowercase.