I\'m trying to figure out how to delete an object through a class method. I would like to be able to create a class that has a destroy method that releases the object from memor
No. JavaScript is automatically garbage collected; the object's memory will be reclaimed only if the GC decides to run and the object is eligible for collection.
Seeing as that will happen automatically as required, what would be the purpose of reclaiming the memory explicitly?