Glen Huang (2014-12-13T04:36:41.000Z)
Currently, es6 doesn’t seem to let you define static properties and prototype properties with the class syntax, by that I mean this in es5:

function Foo() {}
Foo.bar = 1;
Foo.prototype.baz = 2;

Is it possible to allow this in es6 with the class syntax? Or it belongs to es7? Or it’s simply a terrible idea?

Thanks.
d at domenic.me (2014-12-19T22:47:58.129Z)
Currently, es6 doesn’t seem to let you define static properties and prototype properties with the class syntax, by that I mean this in es5:

```js
function Foo() {}
Foo.bar = 1;
Foo.prototype.baz = 2;
```

Is it possible to allow this in es6 with the class syntax? Or it belongs to es7? Or it’s simply a terrible idea?