サンプルCoffee Script
class @Hoge @hage hige @static_out: -> alert("static_out") instance_out: -> alert("instance_out")
サンプルCoffee Scriptに対応するJavaScript
this.Hoge = (function() { function Hoge() {} Hoge.hage; hige; Hoge.static_out = function() { return alert("static_out"); }; Hoge.prototype.instance_out = function() { return alert("instance_out"); }; return Hoge; })();