ktongue's picture
download
raw
325 Bytes
"use strict";
exports.__esModule = true;
exports.default = remove;
/**
* Removes a given node from the DOM.
*
* @param node the node to remove
*/
function remove(node) {
if (node && node.parentNode) {
node.parentNode.removeChild(node);
return node;
}
return null;
}
module.exports = exports["default"];

Xet Storage Details

Size:
325 Bytes
·
Xet hash:
cb1a77ca63ecfadca994a2d74499ee1d18f2e66525f5de544fa265a8be490570

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