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.
null
does not have any methods, in particular it does not have afilter()
method, this is why your code throws an error when called withnull
. this is consistent across all JavaScript implementations and has nothing to do with the environment. you have to add an explicit guard fornull
, since it is a valid input in this kata (which is not good practice, but that's besides the point)This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Lol OP arsehole reply when he is incorrect you cannot cook both sides of the pancake at the same time.