line-separated to ucwords in js
<p>Does anybody knows how to transform <strong>name1-name2-name3</strong> to <strong>name1Name2Name3</strong> in javascript () ?? (looking for elegant solution)</p>

<p>Thanks</p>
