Quantumbraid's picture
download
raw
285 Bytes
export default function collectElements(node, direction) {
var nextNode = null;
var nodes = [];
nextNode = node ? node[direction] : null;
while (nextNode && nextNode.nodeType !== 9) {
nodes.push(nextNode);
nextNode = nextNode[direction] || null;
}
return nodes;
}

Xet Storage Details

Size:
285 Bytes
·
Xet hash:
9cd35f9a538e5356eb808312d52ff89ed2bf379993b7e90fd5af9594682f47b4

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