Is there a way to manually remove an object in javascript? Or is there only automatic garbage collection and it cannot be done? For example:
let s = new Set;
s.add( ... ); // let's say we've added in a million elements or so
Is there a way to then do delete s
or something along those lines? I looked at Set
but wasn't able to find something directly on that object.