2 ms·
> What's the problem with node.parentElement.removeChild(node)? Being counter-intuitive and verbose. It's but one example of such peculiarities that makes DOM
by maga 10y ago
> What's the problem with node.parentElement.removeChild(node)?
Being counter-intuitive and verbose. It's but one example of such peculiarities that makes DOM hard to grasp for beginners.