Basically no matter what I enter when I call the function it says you have fled. I may just be overlooking something but I can't figure out what.
function attack() {
var battle = prompt("Attack of Flee?")
if (battle === "Flee" || "flee") {
alert("You have fled");
}
else if (battle === "Attack" || "attack"){
alert("You have attacked");
}
}