<commit_before>
/**
 * return this first value of array
 * 
 * @returns mixed
 */
Array.prototype.first = function() {
    for (var i in this) {
        return this[i];
    }
}

/**
 * 
 * @returns last value o
 */
Array.prototype.last = function() {
    var last = null;
    for (i in this) {
        if (typeof this[i] != 'function') {
            last = this[i];
        }
    }
    return last;
}

/**
 * return minimun number of array
 * 
 * @returns number minimum number 
 */
Array.prototype.less = function() {
    this.ordination('asc');
    return this.first();
}

/**
 * Alias Array.prototype.less()
 * 
 * @returns number minimum number 
 */
Array.prototype.min = function() {
    return this.less();
}

/**
 * Alias Array.prototype.less()
 * 
 * @returns number minimum number 
 */
Array.prototype.smaller = function() {
    return this.less();
}

/**
 * return the bigger number of array
 * @returns number bigger of array
 */
Array.prototype.superior = function() {
    this.ordination('desc');
    return this.first();
}

/**
 * Alias for Array.prototype.superior
 * @returns number bigger of array
 */
Array.prototype.max = function() {
    return this.superior();
}



/**
 * Ordination of array<commit_msg>Bug fix the min and max functions and added to clone function<commit_after>
/**
 * return this first value of array
 * 
 * @returns mixed
 */
Array.prototype.first = function() {
    for (var i in this) {
        return this[i];
    }
}

/**
 * 
 * @returns last value o
 */
Array.prototype.last = function() {
    var last = null;
    for (i in this) {
        if (typeof this[i] != 'function') {
            last = this[i];
        }
    }
    return last;
}

/**
 * return minimun number of array
 * 
 * @returns number minimum number 
 */
Array.prototype.less = function() {
    var array = this.clone();
    array.ordination('asc');
    return array.first();
}

/**
 * Alias Array.prototype.less()
 * 
 * @returns number minimum number 
 */
Array.prototype.min = function() {
    return this.less();
}

/**
 * Alias Array.prototype.less()
 * 
 * @returns number minimum number 
 */
Array.prototype.smaller = function() {
    return this.less();
}

/**
 * return the bigger number of array
 * @returns number bigger of array
 */
Array.prototype.superior = function() {
    var array = this.clone();
    array.ordination('desc');
    return array.first();
}

/**
 * Alias for Array.prototype.superior
 * @returns number bigger of array
 */
Array.prototype.max = function() {
    return this.superior();
}


/**
 * return clone of array
 * 
 * @returns {Array.prototype@call;slice}
 */
Array.prototype.clone = function() {
	return this.slice(0);
};

/**
 * Ordination of array
{'fraction_non_alphanumeric': 0.1509433962264151, 'fraction_numerical': 0.0003699593044765076, 'mean_word_length': 2.654054054054054, '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': '55302', 'n_tokens_mistral': 846, 'n_tokens_neox': 824, 'n_words': 234}