We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8bbc19 commit b2dd1c4Copy full SHA for b2dd1c4
04 - Array Cardio Day 1/index-START.html
@@ -57,6 +57,9 @@
57
console.log('All the years that all inventors lived: ',yearsAllInventorsLived);
58
59
// 5. Sort the inventors by years lived
60
+ inventors.sort( (a, b) => (a.passed - a.year) - (b.passed - b.year) );
61
+ console.table(inventors);
62
+
63
64
// 6. create a list of Boulevards in Paris that contain 'de' anywhere in the name
65
// https://en.wikipedia.org/wiki/Category:Boulevards_in_Paris
0 commit comments