JavaScript

If Statements

if ((a == null) || (b == "")) {
        //do something
 }
 else if (n == 3) {
         //do something else
 }
 else {
         //do something else
 }

José M. Vidal .

26 of 65