Hello, i have been stuck on this step for a long time. Couldn’t get past it for days. pls can some help look into it.
function attack() {
text.innerText = "The " + monsters[fighting].name + " attacks.";
text.innerText = " You attack it with your " + weapons[currentWeapon].name + ". ";
}