hapus node di dom javascript

let r = document.querySelector("#input")
body.removeChild(r)
Hurt Hamerkop