LEVEL 4 > LESSON 1
var raining;
if(raining=true)
{
console.log("Stay at home!");
}
else
{
console.log("Go to Office!");
}
Output: Stay at home!
But it is showing
Provide the correct boolean value to the variable raining.
Pls help me with a executable code.