const camelCase = (string) => {
function camelize(str) {
return str
.replace(/(?:^w|[A-Z]|w)/g, function(word, index) {
return index === 0 ? word.toLowerCase() : word.toUpperCase();
})
.replace(/s+/g, "");
}
const newText = camelize(string);
return newText
};