mercredi 1 novembre 2017

javascript how I can "return" in child if?

I will make it in simple way I want to "return" in the if that inside if

if(condition){
    ...
       if(another_condition)
         {
           ...
               return;//I want this "return" return from the first if also
         } 
}

Aucun commentaire:

Enregistrer un commentaire