src/Str.js
function dasherize(str) {
  return str.replace(
      /([a-z])([A-Z])/g,
    (_, let1, let2) => `${let1}-${let2.toLowerCase()}`
  );
}
function dasherize(str) {
  return str.replace(
      /([a-z])([A-Z])/g,
    (_, let1, let2) => `${let1}-${let2.toLowerCase()}`
  );
}
function dasherize ( str ) { return str . replace ( / ([a-z])([A-Z]) / g , ( _ , let1 , let2 ) => ` ${ let1 } ${ let2 . toLowerCase ( ) } ` ) ; }
`myClass` => `my-class`
myClass = > my - class