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.
This comment is hidden because it contains spoiler information about the solution
for (.. in)
might iterate of object prototype keysSame, i mean for this kata its ok, but i dont think its a good practice
Agree
empty object isn't neccessary here
Fixed.
I believe that modifying element in filter is wrong and should be considered as an antipattern.
Maybe few additional examples and tests would be good
In the description it's clearly stated that if NaN is one of the arguments it should return false, but it's different in random tests where, for such a case NaN is asked for to be returned. Many coders pointed this out but nothing's changed
Test for NaN is not valid (in the instructions we return false if we encounter "wrong" valu while test for NaN value expects NaN in result)
Additionally it only happens once per x tests as it is happening during random tests.
Iiiiiiiii po co plusik w wyrażeniu regularnym?;)