For this example:
export class DummyClass{
constructor(container) {
const wrapper: HTMLElement = document.createElement("div");
wrapper.innerHTML = 'x';
container.append(wrapper);
}
}
new DummyClass(document.querySelector('body'));
After creating a new instance of DummyClass, is the "wrapper" variable deleted and the memory freed?