javaScript decision making


I am learning code for if/else statement(harryPotterFan code),and my code doesnt work properly.I gave coding for 'false',but it executes true statement.

var harryPotterFan=false;
    console.log('I lead a muggle\'s life.');
    console.log('Mischief managed.');


Switch the two console.log's and your code should pass you should be printing out,

I lead a muggle\'s life.


okay thank you.
now my code is running