Does CoffeeScript have a class destructor?

When a CoffeeScript class is instantiated a constructor called. This works. However, now I would like to delete a instantiaed object. Is there any destructor to call? (I would like to clear a timer)

Answers


This isn't possible with JavaScript so it is not possible with CoffeeScript. If you have some clean up to do, you need to determine by yourself when the right moment is.


Need Your Help

Error creating bean

java spring junit javabeans

This is the error trace that am get :

x editable value change on dynamically not working

jquery twitter-bootstrap x-editable

i have using x editable file for by bootstrap application. now i have a situation where i need to change the value on my span by a button click.value is changing but if i am click on that x editable