title: Are trailing commas in arrays and objects part of the spec?
body: <p>Are trailing commas standard in JavaScript, or do most browsers like Chrome and Firefox just tolerate them?</p>
  
  <p>I thought they were standard, but IE8 puked after encountering one—of course IE not supporting something hardly means it’s not standard.</p>
  
  <p>Here’s an example of what I mean (after the last element of the books array):</p>
  
  <pre><code>var viewModel = {
      books: ko.observableArray([
          { title: "..", display: function() { return ".."; } },
          { title: "..", display: function() { return ".."; } },
          { title: "..", display: function() { return ".."; } }, // &lt;--right there
      ]),
      currentTemplate: ko.observable("bookTemplate1"),
      displayTemplate: function() { return viewModel.currentTemplate(); }
  };
  </code></pre>