These are chat archives for camperbot/bonfire-return-largest-numbers-in-arrays

14th
Aug 2015
Jose M Viloria
@josevill
Aug 14 2015 00:23
hint
CamperBot
@camperbot
Aug 14 2015 00:23

hint [1/2]

## :construction: After this are possible spoiler hints.

Make sure you've tried to hard to solve it yourself before proceeding. :construction:

type hint for next hint :pencil: [Contribute at the FCC Wiki]

Jose M Viloria
@josevill
Aug 14 2015 00:23
hint
CamperBot
@camperbot
Aug 14 2015 00:23

hint [2/2]

wiki coming soon!

type hint for next hint :pencil: [Contribute at the FCC Wiki]

Jose M Viloria
@josevill
Aug 14 2015 00:23
g_g
No hints :frowning:
dc
@dcsan
Aug 14 2015 21:31
Bf details
CamperBot
@camperbot
Aug 14 2015 21:31

:fire:Bonfire: Return Largest Numbers in Arrays :link:

function largestOfFour(arr) {
  // You can do this!
  return arr;
}

largestOfFour([[4, 5, 1, 3], [13, 27, 18, 26], [32, 35, 37, 39], [1000, 1001, 857, 1]]);
Return an array consisting of the largest number from each provided sub-array. For simplicity, the provided array will contain exactly 4 sub-arrays.
Remember, you can iterate through an array with a simple for loop, and access each member with array syntax arr[i] .
If you are writing your own Chai.js tests, be sure to use a deep equal statement instead of an equal statement when comparing arrays.
Remember to use RSAP if you get stuck. Try to pair program. Write your own code.
links:
dc
@dcsan
Aug 14 2015 21:31
Hint
CamperBot
@camperbot
Aug 14 2015 21:31
These hints depend on people like you! Please add to this :point_right: Bonfire's Wiki Hints Page
dc
@dcsan
Aug 14 2015 21:31
Hint
CamperBot
@camperbot
Aug 14 2015 21:31

hint [1/2]

## :construction: After this are possible spoiler hints.

Make sure you've tried to hard to solve it yourself before proceeding. :construction:

type hint for next hint :pencil: [Contribute at the FCC Wiki]