{"ScriptPreparationCode":null,"TestCases":[{"Name":"matchese","Code":"var i = 1000;\r\nwhile (i--) {\r\n if (document.body.matches(\u0022.foo\u0022)) {\r\n return true;\r\n }\r\n}","IsDeferred":false},{"Name":"classListw","Code":"var i = 1000;\r\nwhile (i--) {\r\n if (document.body.classList.contains(\u0027foo\u0027)) {\r\n return true;\r\n }\t\r\n}","IsDeferred":false},{"Name":"classList someq","Code":"var i = 1000;\r\nwhile (i--) {\r\n if ([\u0027foo\u0027].some(className =\u003E document.body.classList.contains(className))) {\r\n return true;\r\n }\t\r\n}","IsDeferred":false},{"Name":"classNameq","Code":"var i = 1000;\r\nwhile (i--) {\r\n if (!!~document.body.className.indexOf(\u0027foo\u0027)) {\r\n return true;\r\n }\t\r\n}","IsDeferred":false}]}