Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Dang! I could have saved a lot of code if I'd known about (frequencies)!
I've got it returning the right outputs for the example tests, but it's not passing the fourth test because the NaN I'm giving it isn't equal to the NaN it's expecting. I've tried returning NaN, and I've tried filtering the array to return the NaN from the array and neither works.
I get that NaN !== NaN, but does that mean it's fundamentally impossible to pass the test?