{"ScriptPreparationCode":"function range(size, startAt = 0) {\r\n return [...Array(size).keys()].map((i) =\u003E i \u002B startAt);\r\n}\r\n\r\nrange(500).map((link) =\u003E {\r\n const a = document.createElement(\u0022a\u0022);\r\n const text = \u0060My Title Text ${link}\u0060;\r\n const linkText = document.createTextNode(text);\r\n a.appendChild(linkText);\r\n a.href = \u0060http://example.com/${link}\u0060;\r\n a.classList.add(\u0027test-link\u0027)\r\n document.body.appendChild(a);\r\n});","TestCases":[{"Name":"jQuery addClass","Code":"jQuery(\u0027a.test-link\u0027).addClass(\u0027new-test-link\u0027);","IsDeferred":false},{"Name":"Dom7 each","Code":"Dom7(\u0027a.test-link\u0027).each(function(element, index) {\r\n console.log( element, index );\r\n});","IsDeferred":false},{"Name":"jQuery each","Code":"jQuery(\u0027a.test-link\u0027).each(function(index, element) {\r\n console.log( index, element );\r\n});","IsDeferred":false},{"Name":"Dom7 set attr","Code":"Dom7(\u0027a.test-link\u0027).attr(\u0027data-test\u0027, \u0027test-value\u0027);","IsDeferred":false},{"Name":"jQuery set attr","Code":"jQuery(\u0027a.test-link\u0027).attr(\u0027data-test\u0027, \u0027test-value\u0027);","IsDeferred":false},{"Name":"Dom7 css","Code":"Dom7(\u0027a.test-link\u0027).css(\u0027color\u0027, \u0027black\u0027);","IsDeferred":false},{"Name":"jQuery css","Code":"jQuery(\u0027a.test-link\u0027).css(\u0027color\u0027, \u0027black\u0027);","IsDeferred":false},{"Name":"Dom7 removeAttr","Code":"Dom7(\u0027a.test-link\u0027).removeAttr(\u0027title\u0027);","IsDeferred":false},{"Name":"jQuery removeAttr","Code":"jQuery(\u0027a.test-link\u0027).removeAttr( \u0022title\u0022 );","IsDeferred":false},{"Name":"Dom7 set attr (Object)","Code":"Dom7(\u0027a.test-link\u0027).attr({\r\n alt: \u0022Beijing Brush Seller\u0022,\r\n title: \u0022photo by Kelly Clark\u0022\r\n});","IsDeferred":false},{"Name":"jQuery set attr (Object)","Code":"jQuery(\u0027a.test-link\u0027).attr({\r\n alt: \u0022Beijing Brush Seller\u0022,\r\n title: \u0022photo by Kelly Clark\u0022\r\n});","IsDeferred":false},{"Name":"Dom7 toggleClass","Code":"Dom7(\u0027a.test-link\u0027).toggleClass(\u0027new-test-link\u0027);","IsDeferred":false},{"Name":"jQuery toggleClass","Code":"jQuery(\u0027a.test-link\u0027).toggleClass(\u0027new-test-link\u0027);","IsDeferred":false},{"Name":"Dom7 removeClass","Code":"Dom7(\u0027a.test-link\u0027).removeClass(\u0027new-test-link\u0027);","IsDeferred":false},{"Name":"jQuery removeClass","Code":"jQuery(\u0027a.test-link\u0027).removeClass(\u0027new-test-link\u0027);","IsDeferred":false},{"Name":"Dom7 addClass","Code":"Dom7(\u0027a.test-link\u0027).addClass(\u0027new-test-link\u0027);","IsDeferred":false},{"Name":"jQuery css (Object)","Code":"jQuery(\u0027a.test-link\u0027).css({\r\n left: \u0027100px\u0027,\r\n top: \u0027200px\u0027,\r\n color: \u0027red\u0027,\r\n width: \u0027300px\u0027,\r\n marginLeft: \u002717px\u0027,\r\n \u0027padding-right\u0027: \u002720px\u0027\r\n});","IsDeferred":false},{"Name":"Dom7 css (Object)","Code":"Dom7(\u0027a.test-link\u0027).css({\r\n left: \u0027100px\u0027,\r\n top: \u0027200px\u0027,\r\n color: \u0027red\u0027,\r\n width: \u0027300px\u0027,\r\n marginLeft: \u002717px\u0027,\r\n \u0027padding-right\u0027: \u002720px\u0027\r\n});","IsDeferred":false}]}