The removeChild() method removes a Element with it's index
removeChild()
Example
document.querySelector("body").removeChild(1)
Last updated 1 year ago
Was this helpful?