Iterators Practice
// find the longest words in a string
// hint: split & reduce
var str = "The quick brown fox jumped over the lazy dog";
// find the largest number in array of array
// hint: map and reduce
var arrOfArr =
[
[4, 5, 1, 3],
[13, 27, 18, 26],
[32, 35, 37, 39],
[1000, 1001, 857, 1]
];
// output ==> [ 5, 27, 39, 1001 ]