<commit_before>// require ./singleton
// require ./array

"use strict";

var
    Singleton,
    Extensor;

// Object: javascript literal object
(function ($) {

    Extensor.new($, {

        clone: function (object) {
            var
                newObject = {};

            Object.getOwnPropertyNames(object).forEach(function (property) {
                newObject[property] = object[property];
            });

            return newObject;
        },

        attributes: function (object) {
            var
                attributes = [];
<commit_msg>fix clone method<commit_after>// require ./singleton
// require ./array

"use strict";

var
    Singleton,
    Extensor;

// Object: javascript literal object
(function ($) {

    Extensor.new($, {

        clone: function (object) {
            var
                newObject = {};

            Object.keys(object).forEach(function (property) {
                newObject[property] = object[property];
            });

            return newObject;
        },

        attributes: function (object) {
            var
                attributes = [];

{'fraction_non_alphanumeric': 0.11711711711711711, 'fraction_numerical': 0.0, 'mean_word_length': 1.6018735362997658, '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': '1080648', 'n_tokens_mistral': 295, 'n_tokens_neox': 275, 'n_words': 66}