I can't understand this, could someone please explain?
console.log("You hit the dragon!")
console.log("Sorry, Dragon defeted you")
slaying = false;
This part: if(youHit). Shouldn't it be - if(youHit => 1)? I mean, youHit value could be 0. Isn't it necessary to precise the if outcome?