Conditional


if (condition) { 
}


if (condition) { 
}
else
{
}


if (condition) { 
}
else if
{
}
else
{
}





switch () { 
   case "one":
      something;
      break;
   default:
}


tenary (one line)

condition ? True action : false action 



© 2017 Better Solutions Limited. All Rights Reserved. © 2017 Better Solutions Limited

PrevNext