01
02
03
04
05
06
07
08
09
10
{"ScriptPreparationCode":"var list=document.querySelector(\u0027#list\u0027);\r\n\r\nfunction childAt(el, index) {\r\n let child = el.firstChild\r\n if (index) {\r\n for (let j = 0; j \u003C index; \u002B\u002Bj) {\r\n if (!child) break;\r\n child = child.nextSibling;\r\n }\r\n }\r\n return child;\r\n}","TestCases":[{"Name":"childNodes","Code":"list.childNodes[3]; list.childNodes[4]","IsDeferred":false},{"Name":"loop","Code":"childAt(list, 3); childAt(list, 4)","IsDeferred":false}]}