10.SyntaxError: Unexpected token (


#1

var user = prompt("Super spiders has taken over new yourk city, in order to get to safty you might kill them! pick your weapon: Gun,Unlitied bug spray, Baseball bat").toUpperCase();

switch(user){
case'GUN':
var aim = prompt("Do you have good aim??(YES or NO)").toUpperCase();
var ammo("Do you have enough ammo to get though the city").toUpperCase();
if( aim==='yes'&& ammo ==='yes'){
console.log("lets do this!!");
}else{
console.log("we need to find some or else its over for us");
}
break;

 case'UNLITIED BUG SPRAY':
  var strong = prompt("Awesome,Are you strong?(YES OR NO)").toUpperCase();
  var smart = prompt("Are you smart?").toUpperCase();
  if(strong ==='yes'|| smart==='yes'){
      console.log("you only need one of the two,now lets kick some ■■■!!");
  }else{
      console.log("Damn, we still have to try");
  }
  break;

  case 'BASEBALL BAT':
  console.log("you're joking right??..NO, well good luck");
  break;

  default:
  console.log("wepon not avliable pleace pick one that was giving");
 };

#2
  1. you ammo variable near the start is not set to a prompt.
  2. if those prompts did work they would never succeed because you are setting them to uppercase, and checking for lowercase. (should use .toLowerCase() instead)