Hello, when running your code a ReferenceError is being logged to the console. This usually happens when Javascript can’t find a reference to a variable in your code. In your case:
To calculate this, create a getHighestDuplicates function which takes an array of numbers. The function will need to count how many times each number is found in the array.
I believe your answer is not being accepted because you are solving the exercise in a way that is different from the way that is being asked of you to solve it. When you are asked to write a function that receives an array of numbers, the exercise expects you to write a function that receives an array as an argument.
EX:
The way you are currently solving the exercise has an arrow function (getHighestDuplicates) that is NOT receiving an array as an argument, therefore your answer is not being accepted. I could not find anything else wrong with your code, so i believe this is the only thing stopping your answer from being accepted. Please let me know if you run into any other problems or if you disagree.