Why is 'false' appearing in the last line of console


#1

So what is causing the false appear in the end line of console .... after the program terminates ..


#2

Because slaying=false...

As you can see it runs the else statement whitch says

else{
console.log("The Dragon Burries You!")
slaying=false;
}

Hope this helped!

Happy Late Christmass :evergreen_tree: :- )


#3

just the value of slaying=false; ... but it is not printed anywhere ... like to the console or return ..!