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 don't think this is the proper type of programming to encourage.
would be better
In my opinion
-1 for i
-1 for forEach rather than map ( the behavior of map is more verbose than modifying an object and expecting it to be modifed in the original array )
however, i am sure the forEach is more performant, if only marginally.