Does CoffeeScript have a class destructor?

class, coffeescript, javascript, timer

Solution

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.

Problem

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)

Original source