COFFEESCRIPT Questions and Answers

Explain how you could do Callback binding in CoffeeScript?

In order to bind a callback function to an object you can use the fat arrow (=>) instead of the normal arrow (à) , the function gets automatically bound to the object.

For example, $ ( ‘.product’ ). Click ( event ) =>