Conditional: Not Equals

Conditional: Not Equals

what_day_is_it = "Thursday";
if(what_day_is_it != "Friday"){
 alert("Boo! The weekend is miles away!");
}
Comments are closed.