For the complete documentation index, see llms.txt. This page is also available as Markdown.

removeChild

The removeChild() method removes a Element with it's index

Example

document.querySelector("body").removeChild(1)

Last updated