Why does this code display False in the console?

not in front of True turns it to FalseVariables always display as False in the console

not in front of True turns it to False.