constcamelCase=(str)=>{if(typeofstr!=='string'){throw'Not a string';}returnstr.trim().toLowerCase().split('').map(el=>{returnel[0].toUpperCase()+el.slice(1);}).join('');}
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Maybe not the best option :) but it works.
JS: