[Solved] Strange if statement always running even if conditions are not met [closed]

[ad_1]

You have a small syntax error in that line of code.

Instead of

if (checkWin());

it should be

if (checkWin())

Remove the ;

[ad_2]

solved Strange if statement always running even if conditions are not met [closed]