{"ScriptPreparationCode":"let list = document.getElementById(\u0022messages\u0022);\r\nfor(i=0; i\u003C1000; i\u002B\u002B) {\r\n\tlist.innerHTML \u002B= \u0022\u003Cspan\u003EText\u003C/span\u003E\u0022\r\n}","TestCases":[{"Name":"Remove firstChild","Code":"let list = document.getElementById(\u0022messages\u0022);\r\nwhile (list.firstChild) {\r\n list.removeChild(list.firstChild);\r\n}","IsDeferred":false},{"Name":"Remove lastChild","Code":"let list = document.getElementById(\u0022messages\u0022);\r\nvar last;\r\nwhile (last = list.lastChild) list.removeChild(last);","IsDeferred":false},{"Name":"innerHTML","Code":"document.getElementById(\u0022messages\u0022).innerHTML = \u0022\u0022;","IsDeferred":false},{"Name":"innerText","Code":"document.getElementById(\u0022messages\u0022).innerText = \u0022\u0022;","IsDeferred":false},{"Name":"textContent","Code":"document.getElementById(\u0022messages\u0022).textContent = \u0022\u0022;","IsDeferred":false},{"Name":"firstChild.remove","Code":"let list = document.getElementById(\u0022messages\u0022);\r\nwhile (list.firstChild) {\r\n list.firstChild.remove()\r\n}","IsDeferred":false},{"Name":"range","Code":"var range = new Range();\r\nrange.selectNodeContents(document.getElementById(\u0022messages\u0022));\r\nrange.deleteContents();","IsDeferred":false}]}