according to mdn documentation the method removeChild removes a node from the DOM but it still resides in memory.
My problem is that I want to delete it from memory as well.
I've tried with the delete operator but the object is still there...
myCanvas.parentElement.removeChild(myCanvas); // myCanvas actually removed from DOM
delete myCanvas; // false. does nothing
alert(myCanvas); // shows HTMLCanvasElement instead of undefined