Array.prototype.map() - Returns a new array containing the results of calling a function on every element in this array.
Array.prototype.filter() - Returns a new array containing all elements of the calling array for which the provided filtering function returns true.
Array.prototype.reduce() - Apply a function against an accumulator and each value of the array (from left-to-right) as to reduce it to a single value.
Array.prototype.sort() - Sorts the elements of an array in place and returns the array.
Some data we can work with:
Filter the list of inventors for those who were born in the 1500's
Code
Output
Give us an array of the inventors first and last names
Code
Output
Sort the inventors by birthdate, oldest to youngest
Code
Output
How many years did all the inventors live all together?
Code
Output
Sort the inventors by years lived
Code
Output
Create a list of Boulevards in Paris that contain 'de' anywhere in the name from this wikipedia page
Code
Output
Sort the people alphabetically by last name
Code
Output
Sum up the instances of each item on the data array
Code
Output