Ad
  • Default User Avatar

    TypeError: Cannot read property 'forEach' of null at comp

    "At comp": it is an error in your code. Print the input so you can see what happens.

    PS: never say "it works on my IDE" because in your IDE you don't have all the real tests cases:-)