I have the same problem. Mine works on Code Pen but fails the test. Maybe it's because of type conversions, but it wasn't stipulated that we don't do so.
Read this: https://docs.codewars.com/training/troubleshooting and I see a php solution published in javascript.
Loading collection data...
I have the same problem. Mine works on Code Pen but fails the test. Maybe it's because of type conversions, but it wasn't stipulated that we don't do so.
Read this: https://docs.codewars.com/training/troubleshooting and I see a php solution published in javascript.