次のJavaScriptをCoffeeScriptに書き込むにはどうすればよいですか
foo.bar(function() {
doSomething();
})(x, y);
たとえば、次は機能しません。
foo.bar ->
doSomething()
(x, y)
次のJavaScriptをCoffeeScriptに書き込むにはどうすればよいですか
foo.bar(function() {
doSomething();
})(x, y);
たとえば、次は機能しません。
foo.bar ->
doSomething()
(x, y)