if not javascript example
Example 1: javascript and
var hungry=true;
var slow=true;
var anxious=true;
//&& means and
if(hungry && slow && anxious){
var cause="weed";
}
Example 2: javascript if
if (32 == 32) {
console.log('32 is equil to 32!');
}