rainforestapp / decaf

Coffeescript to ES.next transpiler. Now maintained over at
https://github.com/juliankrispel/decaf
MIT License
106 stars 10 forks source link

Unnamed class expressions #117

Closed juliankrispel closed 8 years ago

juliankrispel commented 8 years ago

What this does is it uses coffeescripts freeVariable method to get a class name for the unnamed class (es6 needs a class name). I've used the name unnamedClass for this. cc @mizchi

fixes #97

eventualbuddha commented 8 years ago

Why not just do the same thing as with unnamed functions and wrap them in parens?