Javascript if / else

Die if / then / else Abfrage in Javascript erfolgt wie folgt:

if (Bedingung) { Auszuführende Aktion};