{"ScriptPreparationCode":null,"TestCases":[{"Name":"template","Code":"const tpl = document.createElement(\u0027template\u0027);\r\ntpl.innerHTML = \u0060\r\n\u003Cdiv\u003E\r\n \u003Ch1\u003EHeading\u003C/h1\u003E\r\n \u003Cp\u003EParagraph 1\u003C/p\u003E\r\n \u003Cp\u003EParagraph 2\u003C/p\u003E\r\n \u003Cbutton\u003EButton\u003C/button\u003E\r\n\u003C/div\u003E\r\n\u0060;\r\n\r\ndocument.documentElement.appendChild(tpl.content);","IsDeferred":false},{"Name":"DocumentFragment","Code":"const fragment = document.createDocumentFragment();\r\n\r\nconst el = document.createElement(\u0027div\u0027);\r\nconst heading = document.createElement(\u0027h1\u0027);\r\nconst para1 = document.createElement(\u0027p\u0027);\r\nconst para2 = document.createElement(\u0027p\u0027);\r\nconst button = document.createElement(\u0027button\u0027);\r\n\r\nheading.innerText = \u0027Heading\u0027;\r\npara1.innerText = \u0027Paragraph 1\u0027;\r\npara2.innerText = \u0027Paragraph 2\u0027;\r\nbutton.innerText = \u0027Button\u0027;\r\n\r\nel.appendChild(heading);\r\nel.appendChild(para1);\r\nel.appendChild(para2);\r\nel.appendChild(button);\r\n\r\nfragment.appendChild(el);\r\ndocument.documentElement.appendChild(fragment);","IsDeferred":false}]}