Logic understanding

understanding the if condition
here a = 0, b=1, c=2
now the if says
squares[0] && squares[0] === squares[1] && squares[0] === squares[2] (edited)

what does it even mean,[this code is for tic tac toe]
image.png
Was this page helpful?