<commit_before> // JavaScript Olympics

// I paired [by myself, with:] on this challenge.

// This challenge took me [#] hours.


// Warm Up




// Bulk Up




// Jumble your words




// 2,4,6,8




// "We built this city"




// Reflection<commit_msg>finish 7.6 solutions -no reflection<commit_after> // JavaScript Olympics

// I paired <NAME>, <NAME> on this challenge.

// This challenge took me 1 hour.


// Warm Up




// Bulk Up

var athlete1 = {
  name: "<NAME>",
  event: "<NAME>",
}

var athlete2 = {
  name: "<NAME>",
  event: "Pole Vault"
}

var athletes = [athlete1, athlete2]; 

var win = function(array) {
  
  for(var i = 0; i < array.length; i++) {
    array[i].win = "\"" + array[i].name +  " won the "  + array[i].event + "!\"";
  };
  
};

// Jumble your words

  
var reverseString = function(string) { 
  return string.split("").reverse().join("");
};
  

var string = "!sdrow ruoy elbmuJ";

console.log(reverseString(string)); 

 2,4,6,8 

var numArray = [2,4,6,8, 7, 11];
function returnEven(value) {
  if (value % 2 === 0) {
    return value;
  }   
};
var evenArr = numArray.filter(returnEven)
console.log(evenArr);


//"We built this city"


function Athlete(name, age, sport, quote) {
  this.name = name; 
  this.age = age; 
  this.sport = sport;
  this.quote = quote;
}

var michaelPhelps = new Athlete("<NAME>", 29, "swimming", "It's medicinal I swear!");


console.log(michaelPhelps.name + " " + michaelPhelps.sport + " " + michaelPhelps.quote);



// Reflection





























{'fraction_non_alphanumeric': 0.16885676741130093, 'fraction_numerical': 0.017739816031537452, 'mean_word_length': 2.6966019417475726, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 9, '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': '3719645', 'n_tokens_mistral': 594, 'n_tokens_neox': 537, 'n_words': 146}