Line 559: | Line 559: | ||
//split the string into an array | //split the string into an array | ||
− | + | ||
console.log(all_awards_ar); | console.log(all_awards_ar); | ||
− | //get all the unique values of the array | + | var all_awards_ar = all_awards_str.split(', '); |
− | + | ||
− | + | //get all the unique values of the array | |
− | + | const unique = (value, index, self) => { | |
− | + | return self.indexOf(value) === index; | |
+ | } | ||
+ | const unique_awards = all_awards_ar.filter(unique); | ||
+ | |||
+ | //sort the unique values | ||
+ | unique_awards.sort(); | ||
− | |||
− | |||
console.log(unique_awards); | console.log(unique_awards); |
Revision as of 16:48, 19 September 2019
iGEM 2019 Results - Coming soon!
Congratulations to all participants in the 2019 International Genetically Engineered Machine competition!
Your hard work and achievements are truly worthy of celebration!
On this page you will find the winners and nominees for the: Track Prizes, the Awards, Medals: Gold, Silver, and Bronze, and Awards and Medals by Team