<commit_before>var result = "";
for (var i=this.length; i>0;) {
    var cc = this.charCodeAt(--i);
    if ((cc&0xfc00)!==0xdc00 || i===0) {
        result += this.charAt(i);
    } else {
        result += this.substr(--i, 2);
    }
}
return result;<commit_msg>fix reverse()<commit_after>function() {
  var result = "";
  for (var i=this.length; i>0;) {
    var cc = this.charCodeAt(--i);
    if ((cc&0xfc00)!==0xdc00 || i===0) {
      result += this.charAt(i);
    } else {
      result += this.substr(--i, 2);
    }
  }
  return result;
}
{'fraction_non_alphanumeric': 0.2189239332096475, 'fraction_numerical': 0.03339517625231911, 'mean_word_length': 2.576158940397351, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '95574', 'n_tokens_mistral': 225, 'n_tokens_neox': 215, 'n_words': 41}