<commit_before>function map(arr, fn){
  for (var i=0; i < arr.length; i++)
    fn(arr[i], i);
}

map(array, function(value, index){

});<commit_msg>Fixes `map` implementation for IE8+<commit_after>function map(arr, fn){
  var results = [];
  for (var i=0; i < arr.length; i++)
    results.push(fn(arr[i], i));
  return results;
}

map(array, function(value, index){

});
{'fraction_non_alphanumeric': 0.20270270270270271, 'fraction_numerical': 0.008108108108108109, 'mean_word_length': 4.621212121212121, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '5188867', 'n_tokens_mistral': 143, 'n_tokens_neox': 142, 'n_words': 36}