I am returning something inside if else statement. Does it ends whole function or only ifelse scope?
function user () {
if (//first) {
return TRUE;
}
//somecode
if (//second) {
return FALSE;
}
return TRUE;
}
In above code if my first condition is true, does it end whole function or only first ifelse scope?
Aucun commentaire:
Enregistrer un commentaire