Posts by Bruno Duarte • 3 points
1 post
-
-3
votes1
answer46
viewsA: Can anyone help me understand this line of javasript code?
The && operator returns true only if the given variables are both true. So he compares whether the hit and the sunken ships are true and then compares it to the number of ships. If…