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.
Hi
Hisham.Taha
,what do you mean by
all values tests
?According to your screenshot, your programm doesn't pass the wrong values tests. There are only two tests in this section, namely with the empty input value (
[]
) and with the null input value (null
).You should just improve your programm so, that it can react proper for wrong values inputs. Nothing more.
The same problem
not reading the error message, you're trying to callnull.filter(...)
.Hi
Hisham.Taha
,the error message says all you need:
Cannot read property 'map' of null
. It can happen, if the input valuea
isnull
, right? So, you need to check the input value for null. (carefully read the description once again)