title: Get function `arguments` as key-value couples object
body: <p>In JavaScript one can get the list of arguments passed to a function via <code>arguments</code>, that is an array-like object:</p>
  
  <pre><code>&gt;&gt; function fun(a, b, c) { console.log(arguments) };  
  undefined
  &gt;&gt; fun(1, 2, 3);
  [1, 2, 3]
  </code></pre>
  
  <p>Is there a way to obtain an object containing the formal name of each argument as well?<br>
  That is, if one calls the function like above, he should get:</p>
  
  <pre><code>{a = 1, b = 2, c = 3}
  </code></pre>