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.
It doesn't work for n = 0
Good job, despite you did not use recursion in a recursion challenge. I think you could also avoid push() method, using a return like "return [fraction[0] / i, fraction[1] / i]"
Lol, lgtm
The semantics of "nullish" and "falsy" values in JS are confusing for sure, but empty arrays are in fact not null.
Not a kata issue, closing.
This comment is hidden because it contains spoiler information about the solution