I know this wouldn't be a common use case, but might come into play with minifiers later on. Would any of the following be potentially valid in ES6?
class Foo extends function() {} { /* class body */ } class Foo extends function* (bar) { yield bar } { /* class body */ } class Foo extends class { /* super body */ } { /* class body */ } This question came from the fact that classes can be stored in variables like so: let Foo = class Bar { /* ... */ } -- Isiah Meadows
_______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss