JavaScript Object Literal Trailing "Dummy" Pair
<p>When working with object literals in JavaScript, I find myself frequently generating syntax issues around the last label / value pair since it does not require the trailing comma. I insert a new value and inevitably forget the separating comma.</p>

<pre><code>.draggable({
    containment: "parent",
    opacity: 0.50  // &lt;- missing comma
    revert: true   // new pair
});
</code></pre>

<p>So for the sake of my sanity, would it be reasonable to always have a dummy pair at the end? This seems to work and now all inserted pairs get a trailing comma. Are there other conventions out there? Is the double quote brilliant or idiotic? Feedback please! Thanks.</p>

<pre><code>.draggable({
    containment: "parent",
    opacity: 0.50,
    "": null       // dummy pair
});
</code></pre>
