title: Siebel eScript varargs function always throws an exception
body: <p>according to Siebel documentation, eScript supports varargs. 
  The following sample is taken from the Siebel documentation:</p>
  
  <pre><code>function SumAll()
  {
    var total = 0;
    for (var ssk = 0; ssk &lt; SumAll.arguments.length; ssk++)
    {
      total += SumAll.arguments[ssk];
    }
    return total;
  }
  </code></pre>
  
  <p>However, if I call this method like <code>SumAll(1,2,3)</code> I get the following exception:</p>
  
  <blockquote>
    <p>TypeError: Can't convert 'Undefined' to Object. Service.SumAll line xxx</p>
  </blockquote>
  
  <p>where xxx is the line number of the for statement.</p>
  
  <p>Any idea, why?
  Thanks!</p>