Quantumbraid's picture
download
raw
259 Bytes
/**
* Removes all child nodes from a given node.
*
* @param node the node to clear
*/
export default function clear(node) {
if (node) {
while (node.firstChild) {
node.removeChild(node.firstChild);
}
return node;
}
return null;
}

Xet Storage Details

Size:
259 Bytes
·
Xet hash:
45dee9720d3f0d1bc65a59c51fab232be8eb4d5e441b8381dea0825d21a7d85f

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.