It will convert the given string to camel case.
string
1.0.0
camelCase("some_database_field_name"); // => "someDatabaseFieldName" Copy
camelCase("some_database_field_name"); // => "someDatabaseFieldName"
camelCase("Some label that needs to be camelized"); // => "someLabelThatNeedsToBeCamelized" Copy
camelCase("Some label that needs to be camelized"); // => "someLabelThatNeedsToBeCamelized"
camelCase("some-javaScript-property"); // => "someJavaScriptProperty" Copy
camelCase("some-javaScript-property"); // => "someJavaScriptProperty"
camelCase("some-mixed_string with spaces_underscores-and-hyphens");// => "someMixedStringWithSpacesUnderscoresAndHyphens" Copy
camelCase("some-mixed_string with spaces_underscores-and-hyphens");// => "someMixedStringWithSpacesUnderscoresAndHyphens"
It will convert the given
stringto camel case.