code: function unDashHyphen (str) {
    return str
      .trim()
      .toLowerCase()
      .replace(/[-_\s]+(.)?/g, function (match, c) {
        return c ? c.toUpperCase() : "";
      });
  }
docs: converts a dash or hypen separated string to camelCase