To Devs: Update needed on "Learn Advanced Array Methods... Statistics Calculator "

Hi,

On step 32 it says the console.log will be 2, 4, 4, 5 but it is actually 4, 4, 2, 5.

It looks like there was a previous step added to change sorted() to toSorted() which would produce this change.

Best,
Chris

please share a link of the step

1 Like

Hello @Chri5 !

Good attempt!

It appears the [numbers should be in here ] brackets were not included in the numbers entered to be calculated.

I received a different answer when I included the square brackets as in the example.

4, 4, 2, 5 should be enclosed in the brackets, as well.

Wishing you good progress on your coding journey. :slightly_smiling_face: