{"ScriptPreparationCode":"let div = document.createElement(\u0022div\u0022);\r\ndiv.setAttribute(\u0022id\u0022, \u0022content\u0022);\r\ndocument.getElementsByTagName(\u0022body\u0022)[0].appendChild(div);","TestCases":[{"Name":"let doc","Code":"let div = document.createElement(\u0022div\u0022),\r\n span = document.createElement(\u0022span\u0022);\r\n\r\ndiv.setAttribute(\u0022attr1\u0022, \u0022value1\u0022);\r\ndiv.setAttribute(\u0022attr2\u0022, \u0022value2\u0022);\r\ndiv.setAttribute(\u0022attr3\u0022, \u0022value3\u0022);\r\ndiv.setAttribute(\u0022attr4\u0022, \u0022value4\u0022);\r\ndiv.setAttribute(\u0022attr5\u0022, \u0022value5\u0022);\r\n\r\nspan.setAttribute(\u0022attr1\u0022, \u0022value1\u0022);\r\nspan.setAttribute(\u0022attr2\u0022, \u0022value2\u0022);\r\nspan.setAttribute(\u0022attr3\u0022, \u0022value3\u0022);\r\nspan.setAttribute(\u0022attr4\u0022, \u0022value4\u0022);\r\nspan.setAttribute(\u0022attr5\u0022, \u0022value5\u0022);\r\n\r\ndiv.appendChild(span)\r\nspan = null;\r\n\r\ndocument.getElementsByTagName(\u0022body\u0022)[0].appendChild(div);\r\ndiv = null;","IsDeferred":false},{"Name":"const doc","Code":"const div = document.createElement(\u0022div\u0022),\r\n span = document.createElement(\u0022span\u0022);\r\n\r\ndiv.setAttribute(\u0022attr1\u0022, \u0022value1\u0022);\r\ndiv.setAttribute(\u0022attr2\u0022, \u0022value2\u0022);\r\ndiv.setAttribute(\u0022attr3\u0022, \u0022value3\u0022);\r\ndiv.setAttribute(\u0022attr4\u0022, \u0022value4\u0022);\r\ndiv.setAttribute(\u0022attr5\u0022, \u0022value5\u0022);\r\n\r\nspan.setAttribute(\u0022attr1\u0022, \u0022value1\u0022);\r\nspan.setAttribute(\u0022attr2\u0022, \u0022value2\u0022);\r\nspan.setAttribute(\u0022attr3\u0022, \u0022value3\u0022);\r\nspan.setAttribute(\u0022attr4\u0022, \u0022value4\u0022);\r\nspan.setAttribute(\u0022attr5\u0022, \u0022value5\u0022);\r\n\r\ndiv.appendChild(span)\r\n\r\ndocument.getElementsByTagName(\u0022body\u0022)[0].appendChild(div);","IsDeferred":false},{"Name":"template let","Code":"let html = \u0060\r\n\t\u003Cdiv attr1=\u0022value1\u0022 attr2=\u0022value2\u0022 attr3=\u0022value3\u0022 attr4=\u0022value4\u0022 attr5=\u0022value5\u0022\u003E\r\n\t\t\u003Cspan attr1=\u0022value1\u0022 attr2=\u0022value2\u0022 attr3=\u0022value3\u0022 attr4=\u0022value4\u0022 attr5=\u0022value5\u0022\u003E\u003C/span\u003E\r\n\t\u003C/div\u003E\r\n\u0060;\r\n\r\n\r\ndocument.getElementsByTagName(\u0022body\u0022)[0].insertAdjacentHTML(\u0022beforeend\u0022, html);","IsDeferred":false},{"Name":"template","Code":"document.getElementsByTagName(\u0022body\u0022)[0].insertAdjacentHTML(\u0022afterbegin\u0022, \u0060\r\n\t\u003Cdiv attr1=\u0022value1\u0022 attr2=\u0022value2\u0022 attr3=\u0022value3\u0022 attr4=\u0022value4\u0022 attr5=\u0022value5\u0022\u003E\r\n\t\t\u003Cspan attr1=\u0022value1\u0022 attr2=\u0022value2\u0022 attr3=\u0022value3\u0022 attr4=\u0022value4\u0022 attr5=\u0022value5\u0022\u003E\u003C/span\u003E\r\n\t\u003C/div\u003E\r\n\u0060);","IsDeferred":false}]}