title: javascript: optional first argument in function
body: <p>I have a typical javascript function with some parameters</p>
  
  <pre><code>my_function = function(content, options) { action }
  </code></pre>
  
  <p>if I call the function as such :</p>
  
  <pre><code>my_function (options)
  </code></pre>
  
  <p>the argument "options" is passed as "content"</p>
  
  <p>how do i go around this so I can either have both arguments passed or just one ?
  thank you</p>