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.
Not a kata issue, your code does not comply to below
Your problem is javascript doesn't handle arbitrary precission numbers like you want. Try doing it another way.
From the Kata's description:
Your code is expecting a comma separated list.
Please double check your test input in your test code and look at the examples in the Kata's description.
The input is a string of numbers separated with spaces, check how you're trying to convert that to a list, it's wrong. And if your code works in other places, you're not using those input values.
> Input:
"10 2 -2 -10"
> Your code:
split(',')
:thinking: