Why does this code display false in the console?

The ! operator in front of true turns its value into falseVariables always display as false in the console

The negation operator ! in front of true turns its value into false.