Javascript - Uncaught SyntaxError: Nieoczekiwany identyfikator

Mam frustrujący czas, kiedy próbuję go uruchomić, Chrome wyświetla błąd Złapanej składni, ale będąc początkującym javascriptem, nie mam pojęcia, gdzie szukać. Każda pomoc lub wskazówki byłyby mile widziane

<code>    function details(user) {
        var fuel = prompt("Would you prefer petrol or diesel?");
        var passengers = prompt("How many passengers will there be?");
        var aircon = prompt("Do you require air-conditioning?");
        var transmission = prompt("Do you want a Manual, Semi-Automatic or Automatic Transmission?");
        var hire = prompt("How long would you like to hire a vehicle for? (Day Hire, Weekend Hire or Weekly Hire)");

        if (fuel == "petrol" && passengers == "2" && aircon = "yes" && transmission == "semi-automatic") {
        result = "Lambourghini Aventador";
    } else {
        result = "some form of SUV"
    }
        if result = "Lambourghini Aventador") {

        if (hire == "Day hire") {
        cost = 2000;
    }
        if (hire == "Weekend hire") {
        cost = 3800;
    }
        if (hire == "Weekly hire") {
        cost = 12000;
    }
}
}
</code>

questionAnswers(1)

yourAnswerToTheQuestion