Add utils

This commit is contained in:
danbulant 2019-12-30 20:40:22 +01:00
parent 38aae4f425
commit 4149e2c868

View file

@ -1,5 +1,9 @@
function removeChildNodes(node){
while (node.firstChild) {
node.removeChild(node.firstChild);
}
}
module.exports = {
removeChildNodes
}