title: apply arguments to function
body: <p>I would like to apply arguments represented as a hash to a function.</p>
  
  <p>For example, I would like to call this function:</p>
  
  <pre><code>myFunc = function(a,b,c) { return b }
  </code></pre>
  
  <p>In a way similiar to this:</p>
  
  <pre><code>myFunc({a:1, b:2, c:3})
  </code></pre>
  
  <p>Is there a way to do this in javascript?</p>