Ad
  • Default User Avatar

    Thats beautiful, but I don't understand how it passess empty array test. What should I read about to fully understand that solution?
    I read it as: "Return true, if some of 'a' dosen't have 'damaged' value. " Empty array dosen't have damaged, so why isn't it truthy?