<commit_before>/**
 *  2017-09-16   <NAME>
 */

var o = function () {
};

o.name = [1, 2, 3];
o.abj = {
    age: 12,
    sex: 'male'
};
o.f = function (){
    console.log('value')
}

Object.defineProperty(o, 'len', {
    enumerable: true,
    configurable: true,
    get: function() { return this.name.length; }
});

console.log(Object.keys(o))
console.log(Object.getOwnPropertyNames(o))

o.name.length = 10;

console.log(o.len);<commit_msg>function<commit_after>/**
 *  2017-09-16   <NAME>
 */

var o = function () {
};

o.j = [1, 2, 3];
o.abj = {
    age: 12,
    sex: 'male'
};
o.f = function (){
    console.log('value')
}

Object.defineProperty(o, 'len', {
    enumerable: true,
    configurable: true,
    get: function() { return this.j.length; }
});

console.log(Object.keys(o))
console.log(Object.getOwnPropertyNames(o))

o.j.length = 10;
console.log(o.len);
{'fraction_non_alphanumeric': 0.20761245674740483, 'fraction_numerical': 0.03460207612456748, 'mean_word_length': 3.173076923076923, 'pattern_counts': {'":': 0, '<': 5, '<?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': '558378', 'n_tokens_mistral': 374, 'n_tokens_neox': 351, 'n_words': 65}