title: javascript array parameter list
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/676721/calling-dynamic-function-with-dynamic-parameters-in-javascript">Calling dynamic function with dynamic parameters in Javascript</a>  </p>
  </blockquote>
  
  
  
  <p>I have an array representing the parameters I need to pass to a function call.  How can I construct this function call dynamically?</p>
  
  <p>e.g.</p>
  
  <pre><code>function constructRequest(params) {
     //params is an array of params to be sent to myFunction()
  
     myFunction(params[0],params[1], ... , params[i]);
  
     //myFunction() needs to have the array deconstructed and is ready 
     // to accept optional params
  }
  </code></pre>
  
  <p>Thanks</p>