Difference between revisions of "HQ:Code Test"

Line 1,023: Line 1,023:
 
if(data[x].team_name == medal[z].team_name){
 
if(data[x].team_name == medal[z].team_name){
 
data[x].medal = medal[z].medal_awarded;
 
data[x].medal = medal[z].medal_awarded;
medal_assigned == true;
+
medal_assigned = true;
 
}
 
}
 
}
 
}
Line 1,038: Line 1,038:
 
console.log(data);
 
console.log(data);
  
 +
 +
 
}
 
}
 +
  
  

Revision as of 17:33, 13 September 2019

Loading...