Learn Advanced Array Methods by Building a Statistics Calculator - Step 38

I can’t figure this one out .
The error message is telling me to create an if statement that checks if the new Set is === 1 then return null. I thought i did that https://www.sitelike.org/similar/dev.to/

Welcome to the forum @dfgdgdfgdfdfd

So the forum can assist please post your full code.

Use the following method to post code to the forum:

  1. On a separate line type three back ticks.
  2. On a separate line paste your code.
  3. On the last line type three back ticks. Here is a single back tick `

Happy coding