<commit_before>// Write a function that returns the greatest common divisor of 2 integers
function gcd(a, b) {
//your code here
}

module.exports = gcd;<commit_msg>adding gcd code<commit_after>// Write a function that returns the greatest common divisor of 2 integers
function gcd(a, b) {
    if(a===0) throw "0 doesn't have any divisor"
    if(b===0) return a;
    return gcd(b,a%b);
}

module.exports = gcd;
{'fraction_non_alphanumeric': 0.11491442542787286, 'fraction_numerical': 0.012224938875305624, 'mean_word_length': 4.125, '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': '4364612', 'n_tokens_mistral': 141, 'n_tokens_neox': 131, 'n_words': 52}