Manchmal functioniert zum beispeil:
if(variabele)
alert(1);
}{
alert(2)
}
Wann ist das in ordnung, und wann must man es schreiben wie:
if(variabele)
alert(1);
}else{
alert(2)
}
Manchmal functioniert zum beispeil:
if(variabele)
alert(1);
}{
alert(2)
}
Wann ist das in ordnung, und wann must man es schreiben wie:
if(variabele)
alert(1);
}else{
alert(2)
}