Edit in JSFiddle

var string = 'Foo-car hhh__dds';

// the lodash way 
var cool = _.camelCase(string);

// Pure JS
function toCamelCase(str) {
  return str.toLowerCase()
    .replace( /[-_]+/g, ' ')
    .replace( /[^\w\s]/g, '')
    .replace( / (.)/g, function($1) { return $1.toUpperCase(); })
    .replace( / /g, '' );
}

notCool = toCamelCase(string);

//display it on page
document.getElementById("cool").innerHTML = JSON.stringify(cool);
document.getElementById("not-cool").innerHTML = JSON.stringify(notCool);
Lodash result:
<p id="cool"></p>
Pure JS result:
<p id="not-cool"></p>
body {
    font-family: sans-serif;
}
p {
    border-bottom: 1px solid black;
    padding: 15px;
}

#cool {
    background: rgba(0, 255, 0, 0.2);
}

#not-cool {
    background: rgba(255, 0, 0, 0.2);
}
}

External resources loaded into this fiddle: