function camelize(s) {
  return typeof s === 'string' ? s.replace(/(?:[-_])(\w)/g, function (_, c) {
    return c ? c.toUpperCase() : '';
  }) : s;
}
function camelize(s) {
  return typeof s === 'string' ? s.replace(/(?:[-_])(\w)/g, function (_, c) {
    return c ? c.toUpperCase() : '';
  }) : s;
}
function camelize ( s ) { return typeof s === 'string' ? s . replace ( / (?:[-_])(\w) / g , function ( _ , c ) { return c ? c . toUpperCase ( ) : '' ; } ) : s ; }
Public: Converts the given string to CamelCase.
Public : Converts the given string to CamelCase .