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.
Thank you :)
Your code is mutating the input. Added initial value to test's reduce to fix that error. Reworked the tests to make the error about mutating the input visible.
TypeError: Reduce of empty array with no initial value
at Array.reduce ()
at mymeeting (test.js:81:14)
at Context. (test.js:101:42)
at processImmediate (internal/timers.js:464:21)
Anyone else getting this error? I don't use Reduce in my solution