UNPKG

js2coffee

Version:

JavaScript to CoffeeScript compiler

12 lines (10 loc) 318 B
notes: """ CoffeeScript allows `this` as `@`. In fact, js2coffee compiles `this.x` into `@x`. Using a standalone `@` was once allowed in CoffeeScript, but was removed in future versions. Hence, standalone JavaScript `this` expressions compile into the same thing, `this`. """ ---- var a = this; ---- a = this