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.
for initialitation
valeur a will begin with 0
Thanks a lot
It's the parameter
initialValue
ofArray.prototype.reduce
. You can read more about it here.Could you please answer my question? Why do you have to put '0' at the end of the expression?