jashkenas/coffee-script — Issue #2089: Declaring multiple class variables at once
Author: spookd
Created: 2012-02-02 13:00:06+00:00
State: open

Hi,

I'm somewhat new to CoffeeScript but through Googling I've come to the following conclusion: You cannot declare multiple class variables at once, like so:

```coffee
class Bar extends Foo
eenie, meenie, miney, mo: 1
```

... or even better:

```coffee
class Bar extends Foo
eenie, meenie, miney, mo: 1, 2, 3, 4
```

I'm aware that it's not necessary to declare them at all, but it's a good thing to do in case a new guy needs to take a look at/extend the code.

As this can be done in JavaScript I figured it was either implemented in some way I can't think of (and hidden by Google!) or simply overlooked: therefore an issue.