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)
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With