I would like to know what if the difference with and without square bracket
Here is my code without square bracket in the if statement, which answer is correct.