{"ScriptPreparationCode":null,"TestCases":[{"Name":"className","Code":"var element = document.getElementById(\u0022foo\u0022);\r\nvar i = 1000;\r\nwhile (i--) {\r\n\telement.className = \u0060bar-${i}\u0060;\r\n}","IsDeferred":false},{"Name":"setAttribute","Code":"var element = document.getElementById(\u0022foo\u0022);\r\nvar i = 1000;\r\nwhile (i--) {\r\n\telement.setAttribute(\u0022class\u0022, \u0060bar-${i}\u0060);\r\n}","IsDeferred":false},{"Name":"classList","Code":"var element = document.getElementById(\u0022foo\u0022);\r\nvar i = 1000;\r\nwhile (i--) {\r\n\telement.classList.add(\u0060bar-${i}\u0060);\r\n}","IsDeferred":false},{"Name":"classList remove \u0026 add","Code":"var element = document.getElementById(\u0022foo\u0022);\r\nvar i = 999;\r\nelement.classList.add(\u0060bar-1000\u0060);\r\nwhile (i--) {\r\n element.classList.remove(\u0060bar-${i\u002B1}\u0060);\r\n\telement.classList.add(\u0060bar-${i}\u0060);\r\n}","IsDeferred":false}]}