Converts a string to camelCase.
Replaces spaces, hyphens, and underscores with camel casing. The first character of the resulting string is always lowercase.
The input string to convert.
The camelCase version of the input string.
1.1.0
camelCase('hello_world'); // 'helloWorld'camelCase('foo-bar-baz'); // 'fooBarBaz'camelCase('Make me camel'); // 'makeMeCamel' Copy
camelCase('hello_world'); // 'helloWorld'camelCase('foo-bar-baz'); // 'fooBarBaz'camelCase('Make me camel'); // 'makeMeCamel'
Converts a string to camelCase.
Replaces spaces, hyphens, and underscores with camel casing. The first character of the resulting string is always lowercase.