showing results for - "camelcase to hyphenated javascript"
Brooke
08 Aug 2017
1let dashed = camel.replace(/[A-Z]/g, m => "-" + m.toLowerCase());