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.
.
Included NaN in the tests
If the code doen't reach the point where you sum in your sum function it's not bullet proof hence poorly designed. Have a nice day.
Okay I think it should be working now, let me know if anything's wrong. I'm simultaneously learning how to both solve and create this kata! :)
Ahhh, this was dumb of me.
Object.prototype.toLocaleString
simply callsObject.prototype.toString
and I forgot to check if prototype methods call other methods. I will fix this when I get home today.if you try to add an absence of value what will be the result? 0. 1+2+3+null=6 ;)
Yes,my fault...
I have changed the kata now, thanks for the feedback!
Right you are. I'll change it now.