title: What's the maximum number of operators you that can be used in an if statement?
body: <p>i'm using jquery and I'm trying to validate a form. My question is - What is the maximum number of tests can you give in a single if statement.</p>
  
  <pre><code>function cc_validate () {
  if ($("#name").val() == "" || $("#ship_name").val() == "" || $("#address").val() == "" || $("#city").val() == "" || $("#ship_city").val() == "" || $("#state").val() == "" || $("#ship_state").val() == "" || $("#postal_code").val() == "" || isNaN($("#postal_code").val()) || $("#phone").val() == "" || $("#ship_phone").val() == "" || isNaN($("#phone").val()) || isNaN($("#ship_phone").val()) || $("#mobile_number").val() == "" || $("#ship_mobile_number").val() == "" || isNaN($("#mobile_number").val()) || isNaN($("#ship_mobile_number").val()) || $("#email").val() == "") {
  return false;
  
  }  else {
  
  return true;
    } }
  </code></pre>