in reply to Detecting Dangling Commas in JavaScript

Just being curious: isn't a curly bracket missing somewhere in your JS example?
  • Comment on Re: Detecting Dangling Commas in JavaScript

Replies are listed 'Best First'.
Re^2: Detecting Dangling Commas in JavaScript
by wink (Scribe) on Oct 28, 2010 at 14:44 UTC
    Er, I suppose. I typed it up in a hurry, and made the elements object-style while calling it an array. Fixed, not that it matter. ;)