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.
This is an advance solution, I prefer to keep the code simple and understandable for most people. This blow up the mind of a junior.
Nice Solution :)
As a note: You could be using
[...Array(10).keys()]
instead of[...Array(number)].map((_,i) => i)
Wouldn't value and index be the same in this case?
I think you could skip the map step
Good Job
Exactly what I wanted to do, and I end up doing a boring for loop