Is there a way to make true = false
. When I try that, it obviously returns an invalid left-hand assignment. This is something that I have been curious about for a while, and I would appreciate an answer. I have tried a lot of things, but I haven't figured out how to do it. Here's some things that I've tried so far:
true = false;
var true = false;
let true = false;
const true = false;
Boolean(true) = false;
true = !true;
var true = !true;
let true = !true;
const true = !true;
Boolean(true) = !true;