var a = 3;

if(a>4)
{
    console.log("a is greater than 4");
}
else
{
   console.log("a is less than 4");
}