Quantumbraid's picture
download
raw
350 Bytes
"use strict";
exports.__esModule = true;
exports.default = clear;
/**
* Removes all child nodes from a given node.
*
* @param node the node to clear
*/
function clear(node) {
if (node) {
while (node.firstChild) {
node.removeChild(node.firstChild);
}
return node;
}
return null;
}
module.exports = exports["default"];

Xet Storage Details

Size:
350 Bytes
·
Xet hash:
081c5d545139f3e88f73e2bcbc8dc6b8babc678deefffe00e27a136fe9b05ea2

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