Ad
  • Custom User Avatar

    null does not have any methods, in particular it does not have a filter() method, this is why your code throws an error when called with null. this is consistent across all JavaScript implementations and has nothing to do with the environment. you have to add an explicit guard for null, since it is a valid input in this kata (which is not good practice, but that's besides the point)

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    Lol OP arsehole reply when he is incorrect you cannot cook both sides of the pancake at the same time.