This is either very simple or impossible.

I know I can do this:

```
var element = document.getElementById('some_element');
element.parentNode.removeChild(element);

```

...but it feels messy. Is there a tidier - and universally supported - way to do the same thing?

It's seems - to me at least - like there should be something like this:

```
document.getElementById('some_element').remove();

```

...but that doesn't work, and searching Google/SO has not yielded any alternative.

I know it doesn't matter that much, but `parentNode.removeChild()` just feels hacky/messy/inefficient/bad practice-y.