{"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":"RemoveChildren","Code":"let list = document.getElementById(\u0022messages\u0022);\r\nlist.replaceChildren();","IsDeferred":false}]}