{"ScriptPreparationCode":"function div() {\r\n\treturn document.createElement(\u0027div\u0027);\r\n}\r\n\r\nconst parent = div();\r\n\r\nfor (let i = 0; i \u003C 1000; i\u002B\u002B) {\r\n const child = div();\r\n \r\n\tfor (let j = 0; j \u003C 1000; j\u002B\u002B) {\r\n const grandChild = div();\r\n grandChild.classList.add(\u0027grandChild\u0027);\r\n child.append(grandChild);\r\n }\r\n \r\n parent.append(child);\r\n}\r\ndocument.body.append(parent)\r\n\r\nlet result;","TestCases":[{"Name":"querySelectorAll","Code":"result = document.querySelectorAll(\u0027.grandChild\u0027);","IsDeferred":false},{"Name":"getElementsByClassName","Code":"result = document.getElementsByClassName(\u0027grandChild\u0027);","IsDeferred":false}]}