jshint/jshint-next — Issue #1: Make sure JSHint correctly parses comma operator
Author: antonkovalyov
Created: 2012-03-04 02:03:22+00:00
State: open

JSHint has to correctly parse code that uses comma operator to group expressions. For example:

```javascript
/*jshint asi: true */
/*globals protocol */
var sequence = protocol({
first: ('Returns first item of this sequence', [ 'this' ]),
rest: ('Returns sequence of items after the first', [ 'this' ]),
stick: ('Returns sequence of items where head is first, and this is rest', [ 'head', 'this' ])
})
```

See also:

* https://github.com/jshint/jshint/issues/454

This issue should be closed when there's a passing regression test that tests expressions grouped with a comma.