<commit_before>export default function pick(object, props) {
  const result = {};

  for (const prop of props) {
    result[prop] = object[prop];
  }

  return result;
}<commit_msg>Removing for...of syntax in pick util function.<commit_after>export default function pick(object, props) {
  const result = {};

  for (let i = 0; i < props.length; i++) {
    const prop = props[i];
    result[prop] = object[prop];
  }

  return result;
}
{'fraction_non_alphanumeric': 0.13990825688073394, 'fraction_numerical': 0.0022935779816513763, 'mean_word_length': 3.5520833333333335, 'pattern_counts': {'":': 0, '<': 4, '<?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': '2178019', 'n_tokens_mistral': 142, 'n_tokens_neox': 135, 'n_words': 43}