javascript set boolean to opposite code example Example: javascript boolean change value var NAME = true NAME = !NAME