diff --git a/index.html b/index.html index e9700e2..71c4ad2 100644 --- a/index.html +++ b/index.html @@ -2090,10 +2090,10 @@

Exercise 18: Retrieve url of the largest boxart

return boxarts. reduce(function(acc,curr) { if (acc.width * acc.height > curr.width * curr.height) { - return acc; + return [acc]; } else { - return curr; + return [curr]; } }). map(function(boxart) {