Heaven only knows what it was intended to do by the coder.
boolean1 must be the name of a variable. It must be assigned a value before it can be used in that statement. The name suggests that it will have a value of true or false.
Piece by piece
"var myVar" declares the name of a variable.
"var myVar =" assigns the value on the right side of the = to the variable.
The expression on the right side is evaluated from left to right
"boolean1" is true or false
"||" means combine boolean1 with false using logical OR.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.