Dynamically create key in JavaScript object
<p>I am trying to dynamically create a key in a <code>JavaScript</code> object with a <code>jQuery</code> selector:</p>

<pre><code>{
  $("form").children("input[type=hidden]").attr("name"): $("form").children("input[type=hidden]").val()
}
</code></pre>

<p>This is breaking though. Is it possible to dynamically create a key this way?</p>
