html = '<h1>foo</h1><p>bar</p>';
virtual_dom = $(html);
console.log(virtual_dom);
// logs a data structure recognizable as a DOM with the h1 and p from the string
jQuery は、ブラウザーによってレンダリングされる実際のドキュメントの代わりに影響を与えるように、タグのみで DOM をログに記録するvirtual_domように、から段落を削除する方法を提供しますか?console.log(virtual_dom)h1$('p').remove()virtual_dom