What happens to memory usage when you delete a property from a JavaScript object?
When deleting an object property: 1) The delete operator removes the property from the object, 2) The memory associated with the property's value isn't immediately freed, 3) If the deleted value is no longer referenced elsewhere, it becomes eligible for garbage collection, 4) The actual memory reclamation occurs during the next garbage collection cycle, 5) The timing of garbage collection is determined by the JavaScript engine, 6) In V8 and other modern engines, object shapes (hidden classes) may be impacted by deletion, potentially affecting performance, 7) For large objects or in performance-critical code, it's often better to set properties to null rather than using delete, 8) This behavior reflects JavaScript's garbage-collected memory management system where developers don't directly control memory deallocation timing.