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 understand why the table definition is provided, or even mentioned. It has nothing to do with the problem.
You can console.log the input parameters, so that you can see what is being passed in.
My approach here and in most of my katas is to reach toward abtraction and readability. I was particularly happy with this one in that regard.