title: Javascript equivalent of jQuery's .detach() function
body: <p>I'm looking for a JavaScript function which does the same thing as jQuery's <code>detach()</code> (detach an element from DOM without removing it).  I came across <a href="https://gist.github.com/cowboy/938767" rel="noreferrer">this</a>, but it's not an officially supported function.  Does JavaScript have a function similar to <code>.detach()</code> that is built in?</p>