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.
thanks
If you aren't actually going to use the return value of
.map()
(which is a new array), then consider using.forEach()
instead. Otherwise you are having JS create a new array but then never using it, whereas forEach iterates over each element but does not create a new array as a return value.If you aren't actually going to use the return value of
.map()
(which is a new array), then consider using.forEach()
instead. Otherwise you are having JS create a new array but then never using it, whereas forEach iterates over each element but does not create a new array as a return value.