<commit_before>/**
 * Created by rankun203 on 12/30/14.
 */

var arr = ['one', 'two', 'three'];
Array.prototype._someLibraryAddedThis = {};

for (var i in arr) {
    if (arr.hasOwnProperty(i)) {
        console.log(arr[i]);
    }
}
<commit_msg>for..of doesn't work -> ECMAScript 6 for in test<commit_after>/**
 * Created by rankun203 on 12/30/14.
 * http://macr.ae/article/iterators-and-generators.html
 */

var arr = ['one', 'two', 'three'];
Array.prototype._someLibraryAddedThis = {};

for (var i of arr) {
    console.log(i);
}

{'fraction_non_alphanumeric': 0.18832391713747645, 'fraction_numerical': 0.035781544256120526, 'mean_word_length': 3.360655737704918, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '3571457', 'n_tokens_mistral': 207, 'n_tokens_neox': 193, 'n_words': 46}