javascript assign boolean to variable code example
Example 1: javascript can a var be a boolean
var YES = new Boolean(true);
Example 2: javascript boolean change value
var NAME = true
NAME = !NAME
var YES = new Boolean(true);
var NAME = true
NAME = !NAME