<commit_before>var HashTag = function(){};

HashTag.prototype.generateHashtag = function (str) {
  var out = "";
  if(str === ""){
    return false;
  }else{
    var words = str.split(" ")
    for(var x = 0;x < words; x++){
      words[x] = words[x].toUpperCase;
      
    }
  }
};

module.exports = HashTag<commit_msg>Add hasthag solution<commit_after>var HashTag = function(){};

HashTag.prototype.generateHashtag = function (str) {
  var out = "";
  if(str === ""){
    return false;
  }else{
    var words = str.split(" ")
    for(var x = 0;x < words.length; x++){
    	out += words[x].charAt(0).toUpperCase() + words[x].substring(1);
    }
  }
  return (out.length > 140)? false :"#"+out;
};

module.exports = HashTag
{'fraction_non_alphanumeric': 0.1908713692946058, 'fraction_numerical': 0.009681881051175657, 'mean_word_length': 3.137142857142857, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6331573', 'n_tokens_mistral': 267, 'n_tokens_neox': 261, 'n_words': 55}