{"ScriptPreparationCode":null,"TestCases":[{"Name":"className","Code":"var element = document.getElementById(\u0022foo\u0022);\r\nvar i = 1000;\r\nwhile (i--) {\r\n if(element.className.indexOf(\u0022test\u0022) \u003E -1) {\r\n\telement.className = \u0022bar\u0022;\r\n }else {\r\n element.className = \u0022test\u0022;\r\n }\r\n}","IsDeferred":false},{"Name":"classList","Code":"var element = document.getElementById(\u0022foo\u0022);\r\nvar i = 1000;\r\nwhile (i--) {\r\n if(element.classList.contains(\u0022test\u0022)) {\r\n element.classList.add(\u0022bar\u0022);\r\n } else {\r\n element.classList.add(\u0022test\u0022);\r\n } \r\n}","IsDeferred":false}]}