An object made with new lives in C++. The garbage collector frees it once its handle is gone, and delete() frees it at once.
Block counts itself: the constructor adds one and the destructor takes one away. After await first.delete() the count drops at once, and first cannot be used again. second goes whenever the collector reclaims it.
The collector weighs only the small JavaScript handle, not the memory behind it. Call delete() on an object that holds a lot of memory or a resource such as a file, and on objects made in a loop.
Try it
Make ten blocks in a loop and print the count, then delete each block inside the loop and print it again.