1 line of code: How to PascalCase a string
const toPascalCase = str =&gt; str.replace(/[\s\._-]+\w/g, (m) =&gt; m[m.length -...
Tags: javascript, webdev, productivity, codequality