diff --git a/04 - Array Cardio Day 1/index-FINISHED.html b/04 - Array Cardio Day 1/index-FINISHED.html index e61b94c006..42ff6325f8 100644 --- a/04 - Array Cardio Day 1/index-FINISHED.html +++ b/04 - Array Cardio Day 1/index-FINISHED.html @@ -50,7 +50,7 @@ // } // }); - const ordered = inventors.sort((a, b) => a.year > b.year ? 1 : -1); + const ordered = inventors.sort((a, b) => {a.year > b.year ? 1 : -1}); console.table(ordered); // Array.prototype.reduce()