<commit_before>// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

if (!Function.prototype.bind) {
  Object.defineProperty(Function.prototype, 'bind', { value: function(ctx) {
    var func = this;
    if (arguments.length < 2) {
      return function() {
        return func.apply(ctx, arguments);
      };
    }
    var boundArgs = Array.prototype.slice.call(arguments, 1);
    return function() {
      var newArgs = boundArgs.concat(boundArgs.slice.call(arguments));
      return func.apply(ctx, newArgs);
    };
  }});
}<commit_msg>Simplify function_bind polyfill<commit_after>// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

if (!Function.prototype.bind) {
  Object.defineProperty(Function.prototype, 'bind', { value: function(ctx) {
    var func = this;
    var boundArgs = Array.prototype.slice.call(arguments, 1);
    return function() {
      var newArgs = boundArgs.concat(boundArgs.slice.call(arguments));
      return func.apply(ctx, newArgs);
    };
  }});
}
{'fraction_non_alphanumeric': 0.12396694214876033, 'fraction_numerical': 0.00909090909090909, 'mean_word_length': 3.38768115942029, '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': '6864724', 'n_tokens_mistral': 363, 'n_tokens_neox': 346, 'n_words': 110}