{"ScriptPreparationCode":"var node = document.getElementById(\u0027container\u0027);\r\n\r\nfor(var i = 0; i \u003C 1000; i\u002B\u002B) node.appendChild(document.createElement(\u0027div\u0027));","TestCases":[{"Name":"innerHTML","Code":"var node = document.getElementById(\u0027container\u0027);\r\nnode.innerHTML = \u0027\u0027;","IsDeferred":false},{"Name":"removeChild (checking and removing firstChild)","Code":"var node = document.getElementById(\u0027container\u0027);\r\nwhile(node.firstChild) node.removeChild(node.firstChild)","IsDeferred":false},{"Name":"removeChild (calling hasChildNodes and removing lastChild)","Code":"var node = document.getElementById(\u0027container\u0027);\r\nwhile(node.hasChildNodes()) node.removeChild(node.lastChild)","IsDeferred":false},{"Name":"removeChild (checking and removing lastChild)","Code":"var node = document.getElementById(\u0027container\u0027);\r\nwhile(node.lastChild) node.removeChild(node.lastChild)","IsDeferred":false}]}