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.
Syntax error in starting code:
const newWeirdObject => () => ({})
should beconst newWeirdObject = () => ({})
The spec is incomplete from the description alone (what values to start at?). We're not supposed infer the specs from the sample tests, at least not in this kata ;-)
Needs random tests.
Maybe have some examples in the description? Here'd be a revised version:
https://www.codewars.com/kata/reviews/5ccd33f248214d00017c56a5/groups/5cce9cd371631d00016c2ac2