MCPcopy Create free account
hub / github.com/developit/undom / removeChild

Method removeChild

src/undom.js:69–72  ·  view source on GitHub ↗
(child)

Source from the content-addressed store, hash-verified

67 }
68 }
69 removeChild(child) {
70 splice(this.childNodes, child);
71 return child;
72 }
73 remove() {
74 if (this.parentNode) this.parentNode.removeChild(this);
75 }

Callers 1

removeMethod · 0.80

Calls 1

spliceFunction · 0.90

Tested by

no test coverage detected