Allen Wirfs-Brock (2014-10-15T06:04:23.000Z)
domenic at domenicdenicola.com (2014-10-16T18:03:14.784Z)
On Oct 14, 2014, at 8:31 PM, Kevin Smith wrote: > This is awesome : ) thanks > Any discussion about will author this separate spec - TC39? yes, same folks driving the work. Just decoupled the specs and schedules. > Interestingly, class expressions are not "HoistableDeclarations" which might result in the (somewhat) surprising behavior previously identified: > > export default class C { } > let c = new C; // Error Hmm...I think you're right. Not clear why classes shouldn't be default exports, even though they aren't hoistable. Also, since an anonymous function can be exported as default I don't see why an anonymous class shouldn't also be acceptable. Should be easy things to fix. This is why we put drafts out for review! thanks again,