{"ScriptPreparationCode":"const ul = document.querySelector(\u0027ul\u0027);\r\nconst ol = document.querySelector(\u0027ul\u0027);\r\nfor (let i = 0; i \u003C 1000; i\u002B\u002B) {\r\n const li = document.createElement(\u0027li\u0027)\r\n li.classList.add(i % 2 === 0 ? \u0027even\u0027 : \u0027odd\u0027)\r\n ul.appendChild(document.createElement(\u0027li\u0027));\r\n ol.appendChild(document.createElement(\u0027li\u0027));\r\n}\r\n\r\nvar oddListItems = document.querySelectorAll(\u0027li.odd\u0027);\r\n\r\nvar anything = [];","TestCases":[{"Name":"for ... of","Code":"for (const item of oddListItems) {\r\n\tanything.push(item);\r\n}","IsDeferred":false},{"Name":"Array.from","Code":"Array.from(oddListItems).forEach(item =\u003E anything.push(item));","IsDeferred":false},{"Name":"NodeList.forEach","Code":"oddListItems.forEach(item =\u003E anything.push(item));","IsDeferred":false}]}