The removeChild() method removes a Element with it's index
removeChild()
Example
document.querySelector("body").removeChild(1)
Last updated 2 months ago