{"ScriptPreparationCode":"var parent = document.getElementById(\u0027test\u0027);","TestCases":[{"Name":"childNodes foreach","Code":"parent.childNodes.forEach(function (node) {\r\n let n = node;\r\n});","IsDeferred":false},{"Name":"children (direct)","Code":"for (let i = 0; i \u003C parent.children.length; i\u002B\u002B) {\r\n let n = parent.children[i];\r\n}","IsDeferred":false},{"Name":"firstChild nextSibling","Code":"let elem = parent.firstChild;\r\ndo {\r\n let n = elem;\r\n} while (elem = elem.nextSibling)","IsDeferred":false},{"Name":"firstElementChild nextElementChild","Code":"let elem = parent.firstElementChild;\r\ndo {\r\n let n = elem;\r\n} while (elem = elem.nextElementSibling)","IsDeferred":false},{"Name":"ChildNodes for (into variable)","Code":"let children = parent.childNodes;\r\n\r\nfor (let i = 0; i \u003C children.length; i\u002B\u002B) {\r\n let n = children[i];\r\n}","IsDeferred":false},{"Name":"children-- (direct)","Code":"for (let i = parent.children.length-1; i \u003E= 0; i--) {\r\n let n = parent.children[i];\r\n}","IsDeferred":false},{"Name":"ChildNodes for-- (into variable)","Code":"for (let i = parent.childNodes.length-1; i \u003E= 0; i--) {\r\n let n = parent.childNodes[i];\r\n}","IsDeferred":false},{"Name":"ChildNodes for-- (direct)","Code":"let children = parent.childNodes;\r\n\r\nfor (let i = children.length-1; i \u003E= 0; i--) {\r\n let n = children[i];\r\n}","IsDeferred":false},{"Name":"lastElementChild previousElementChild","Code":"let elem = parent.lastElementChild;\r\ndo {\r\n let n = elem;\r\n} while (elem = elem.previousElementSibling)","IsDeferred":false},{"Name":"children-- (into variable)","Code":"let children = parent.children\r\n\r\nfor (let i = children.length-1; i \u003E= 0; i--) {\r\n let n = children[i];\r\n}","IsDeferred":false}]}