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.
I updated the assertion message so that it gives you the value of n.
IIRC, "Unhandled rejection" means simply failed assertion in JS tests. You solution passes 1165 tests, failed one assertion and then stopped. Reason for your failure is given with the assertion message, "Not an array", so probably tests expect an array and you return something else (
undefined
?)ok, sounds like your code doesn't return an array when it should, for one input. If you deploy the "verify" block, in red, you should see the value of n causing that.
Note: I just changed the upperlimit for various languages (some were easier than others) => the top value of N is 1300 in JS, now.
I guess you have a "time out" error? Then you didn't pass all tests at all, your solution is just too slow (if you passed all tests, you should see 1466 succesfull tests, in JS)