{"ScriptPreparationCode":null,"TestCases":[{"Name":"querySelectorAll","Code":"document.querySelectorAll(\u0027img[loading]\u0027).forEach(i =\u003E {\r\n i.setAttribute(\u0027loading\u0027, \u0027eager\u0027);\r\n});","IsDeferred":false},{"Name":"getElementsByTagName","Code":"[...document.getElementsByTagName(\u0027img\u0027)].forEach(i =\u003E {\r\n if (typeof i.loading !== \u0022undefined\u0022) i.setAttribute(\u0027loading\u0027, \u0027eager\u0027);\r\n});","IsDeferred":false},{"Name":"getElementsByTagName ArrayFrom","Code":"Array.from(document.getElementsByTagName(\u0027img\u0027)).forEach(i =\u003E {\r\n if (typeof i.loading !== \u0022undefined\u0022) i.setAttribute(\u0027loading\u0027, \u0027eager\u0027);\r\n});","IsDeferred":false},{"Name":"getElementsByTagName ForLoop","Code":"const imgs = document.getElementsByTagName(\u0027img\u0027); \r\nfor (let i = 0; i \u003C imgs.length; i\u002B\u002B) {\r\n if (typeof imgs[i].loading !== \u0022undefined\u0022) imgs[i].setAttribute(\u0027loading\u0027, \u0027eager\u0027);\r\n}","IsDeferred":false},{"Name":"getElementsByTagName ArrayFilterForEach","Code":"[].filter.call(document.getElementsByTagName(\u0027img\u0027), i =\u003E i.hasAttribute(\u0027loading\u0027)).forEach(i =\u003E i.setAttribute(\u0027loading\u0027, \u0027eager\u0027));","IsDeferred":false},{"Name":"getElementsByTagName ArrayFilterMap","Code":"[].filter.call(document.getElementsByTagName(\u0027img\u0027), i =\u003E i.hasAttribute(\u0027loading\u0027)).map(i =\u003E i.setAttribute(\u0027loading\u0027, \u0027eager\u0027));","IsDeferred":false}]}