What's wrong with this code?

It calls body.removeChild() with an element type, not an elementIt calls body.removeChild() with the wrong element typeIt should be document.removeChild() not body.removeChild()

It calls body.removeChild() with an element type, not an element.