var ul = document.getElementById('test-list'); [1,2,3].forEach(x=>{ul.removeChild(ul.children[x])});
Sign in to make a reply
_wsdzl