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 是否提供了一种从 中删除段落的方法virtual_dom,这样console.log(virtual_dom)将记录一个只有一个h1标签的 DOM,就像$('p').remove()但影响virtual_dom而不是浏览器呈现的实际文档?