<commit_before>/**
 * @param {number[]} numbers
 * @return {number}
 */
const findDuplicate1 = function (numbers) {
    for (let i = 0; i < numbers.length; ++i) {
        let curr = numbers[i];
        for (let j = i + 1; j < numbers.length; ++j) {
            if (numbers[j] === curr) {
                return curr;
            }
        }
    }
    return undefined;
};

const findDuplicate = function (numbers) {
};

module.exports = findDuplicate;<commit_msg>Delete obsolete code.<commit_after>/**
 * @param {number[]} numbers
 * @return {number}
 */
const findDuplicate = function (numbers) {
    for (let i = 0; i < numbers.length; ++i) {
        let curr = numbers[i];
        for (let j = i + 1; j < numbers.length; ++j) {
            if (numbers[j] === curr) {
                return curr;
            }
        }
    }
    return undefined;
};

module.exports = findDuplicate;
{'fraction_non_alphanumeric': 0.154627539503386, 'fraction_numerical': 0.0056433408577878106, 'mean_word_length': 2.0170068027210886, 'pattern_counts': {'":': 0, '<': 7, '<?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': '4992420', 'n_tokens_mistral': 290, 'n_tokens_neox': 282, 'n_words': 79}