code: function camelCase(str) {
    if (str.indexOf('-') > -1) {
      str = str.replace(/-\w/g, function (letter) {
        return letter.substr(1).toUpperCase();
      });
    }
  
    return str;
  }
docs: Transform to camel-case