<commit_before>console.log('----------------------------- Arrow Functions -----------------------------');

//------------- ES5
const add = function(a, b) {
    return a + b;
}

console.log(add(2, 1));

//------------- ES6<commit_msg>added ES6 arrow function example<commit_after>console.log('----------------------------- Arrow Functions -----------------------------');

//------------- ES5
const addOld = function(a, b) {
    return a + b;
}

console.log(addOld(2, 1));

//------------- ES6
const addNew = (a, b) => a + b;

console.log(addNew(2, 1));
{'fraction_non_alphanumeric': 0.4321880650994575, 'fraction_numerical': 0.019891500904159132, 'mean_word_length': 1.1984126984126984, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '4395308', 'n_tokens_mistral': 165, 'n_tokens_neox': 157, 'n_words': 39}