<commit_before>### The For In Loop

Just like the `in` operator, the `for in` loop also does traverse the prototype
chain when iterating over an object's properties. Although it will *not* include
properties that have their `enumerable` attribute set to false e.g. the `length`
property of an array.

So as you can already imagine you have to use `hasOwnProperty` in order to make
the iteration over an object's own properties work. Also, since `for in`
iterates over *anything* that's on the prototype chain, it will get slower for
more complex cases of inheritance.

**Broken Example**

    Object.prototype.bar = 1; // poisoning the Object.prototype, NEVER do this
    var foo = {moo: 2};
    for(var i in foo) {
        console.log(i);
    }

This results in both `bar` and `moo` being printed out.

**Fixed Version**
<commit_msg>Change wording<commit_after>### The For In Loop

Just like the `in` operator, the `for in` loop does also traverse the prototype
chain when iterating over an object's properties. Although it will *not* include
properties that have their `enumerable` attribute set to false e.g. the `length`
property of an array.

So as you can already imagine you have to use `hasOwnProperty` in order to make
the iteration over an object's own properties work. Also, since `for in`
iterates over *anything* that's on the prototype chain, it will get slower for
more complex cases of inheritance.

**Broken Example**

    Object.prototype.bar = 1; // poisoning the Object.prototype, NEVER do this
    var foo = {moo: 2};
    for(var i in foo) {
        console.log(i);
    }

This results in both `bar` and `moo` being printed out.

**Fixed Version**

{'fraction_non_alphanumeric': 0.08148591971240264, 'fraction_numerical': 0.002396644697423607, 'mean_word_length': 3.854651162790698, 'pattern_counts': {'":': 0, '<': 3, '<?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': '3891991', 'n_tokens_mistral': 483, 'n_tokens_neox': 457, 'n_words': 247}