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


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


Because slaying=false...

As you can see it runs the else statement whitch says

console.log("The Dragon Burries You!")

Hope this helped!

Happy Late Christmass :evergreen_tree: :- )


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