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.
nice kata!
A trivial duplicate of https://www.codewars.com/kata/586d6cefbcc21eed7a001155/
Just ignore rest of the the characters.
I had a different solution, using a different function, which threw an error because of the array "value":
(click on "view solution" below my comment)
Lista are values, and your beautiful solution works with them.
Why did you say that
[]
blocks your solution?Quite close: https://www.codewars.com/kata/586d6cefbcc21eed7a001155/
Sure, as I'm lazy to start looking...
If you can't find a duplicate kata, could you please resolve this issue?
I removed this check.
Doesn't seem to be a novel idea, even if it might not be an exact duplicate.
vs
That promised "value" is an aray. This blocks my beautiful solution ;-)