{"ScriptPreparationCode":"const container = document.querySelector(\u0027#container\u0027);\r\nfor (let i=0; i\u003C300; i\u002B\u002B) \r\n container.appendChild(document.createElement(\u0027p\u0027));\r\n ","TestCases":[{"Name":"innerHTML","Code":"container.innerHTML =\u0027\u0027;","IsDeferred":false},{"Name":"replaceChildren","Code":"container.replaceChildren()","IsDeferred":false},{"Name":"remove firstChild","Code":"while (container.firstChild)\r\n container.removeChild(container.firstChild)","IsDeferred":false},{"Name":"remove lastChild","Code":"while (container.lastChild)\r\n container.removeChild(container.lastChild)","IsDeferred":false},{"Name":"textContent","Code":"container.textContent=\u0027\u0027","IsDeferred":false},{"Name":"remove and recreate root element","Code":"const clone = container.cloneNode(false);\r\ncontainer.parentNode.replaceChild(clone, container);","IsDeferred":false}]}