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.
The Boolean condition statements contradict each other.
When a null statement is passed as input, it is not equal to empty array and returns true. Since you have used an OR conditional, it will pass through because at least one of the conditions statements were true. It attempts to find the length of null but because it itsn't an array, it doesn't have a length and therefore returns an error.
This comment is hidden because it contains spoiler information about the solution