title: Do I need to pass empty parameters to a javascript function?
body: <p>Say I have a function like this, which i'm calling throughout a script:</p>
  
  <pre><code>  function form_senden( form_name, cnf, confirm_txt, trigger_field, ,do_check, chknfcs, allow, errorMsg ){
    // do something 
    }
  </code></pre>
  
  <p>On most of my function calls, I'm only passing the first parameter.</p>
  
  <p><strong>Question:</strong><br>
  Is it ok in this case to omit passing empty parameters like so:</p>
  
  <pre><code>  form_senden("abc");
  </code></pre>
  
  <p>Or do I need to pass all parameters regardless if they are used like so:</p>
  
  <pre><code>  form_senden("abc","","","","","","","","");
  </code></pre>
  
  <p>Thanks!</p>