Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Or

  if(cond1) myVar = 1;
  else if(cond2 && cond3) myVar = 10;
  else if(cond2 && !cond3) myVar = 100;
  else myVar = 4;


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: