<commit_before>  /**
   * extend function
   * extend an object by any number of objects
   * @param  {object} base  - object to be extended or to extend u.js namespace
   * @return {object}         extended object
   */
  u.extend = function(base){
    var args = arguments,
        i,
        prop;

    args[1] || (args[1] = base, base = u);

    for (i in args) {
      if (i > 0) {
        for(prop in args[i]) {
          if (args[i].hasOwnProperty(prop)) {
            base[prop] = args[i][prop];
          }
        }
      }
    }
    return base;
  };<commit_msg>use native object extension if available<commit_after>  /**
   * extend function
   * extend an object by any number of objects
   * @param  {object} base  - object to be extended or to extend u.js namespace
   * @return {object}         extended object
   */
  u.extend = function(base){
    var args = arguments,
        i,
        prop;

    args[1] || (args[1] = base, base = u);

    if (/^f/.test(typeof Object.assign)) {
      Object.assign.apply(Object, args);
    }
    else {
      for (i in args) {
        if (i > 0) {
          for (prop in args[i]) {
            if (args[i].hasOwnProperty(prop)) {
              base[prop] = args[i][prop];
            }
          }
        }
      }
    }
    return base;
  };
{'fraction_non_alphanumeric': 0.13163972286374134, 'fraction_numerical': 0.004618937644341801, 'mean_word_length': 1.6804123711340206, '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': '4532329', 'n_tokens_mistral': 416, 'n_tokens_neox': 410, 'n_words': 122}