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.
That solution is incorrect, but solution revalidation after test changes isn't exactly reliable on CW, so the solution isn't marked as invalid.
When I'm trying to use and learn from nice JS best practice solution from "okeydoke80, wrousse, cucubau3000, eriksudd, qu3rn, yy123 (plus 32 more warriors)" it can't pass the test from description for the array {20,10,-80,10,10,15,35}.
Q: Why? Am I doing smth wrong?
My solution passes all but it's quite straightforward...