Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
remove
Method · 0.80
Calls
1
splice
Function · 0.90
Tested by
no test coverage detected