Step 95 - Learn Basic JavaScript by Building A Role Playing Game

I have followed the step but i am missing something.

function buyWeapon() {
  if (currentWeapon < weapon.length) {
    if (gold >= 30) {
      gold -= 30;
      currentWeapon++;
      goldText.innerText = gold;
      let newWeapon = weapons[currentWeapon].name;
      text.innerText = "You now have a " + newWeapon + ".";
      inventory.push(newWeapon);
      text.innerText += " In your inventory you have: " + inventory;
    } else {
      text.innerText = "You do not have enough gold to buy a weapon.";
    }
  }
}

Link your topic to the challenge step and tell about your step instructions.
@up695407

You have missing weapons s of the array.
@up695407