If statments are a way for our applications to take different paths through our code or make choices about what kind of behavior our application takes based on certain conditions or values in our variables. The variable or value that we are testing to be true is known as the condition.
In Human: If this condition is true, do something.
var isTurnedOn = false;
function flipSwitch(){
if(isTurnedOn){
isTurnedOn = false;