One (has no ancestor class)
{"ScriptPreparationCode":"/*your preparation JavaScript code goes here\r\none = document.getElementById(\u0027one\u0027);\r\nTo execute async code during the script preparation, wrap it as function globalMeasureThatScriptPrepareFunction, example:*/\r\nasync function globalMeasureThatScriptPrepareFunction() {\r\n // This function is optional, feel free to remove it.\r\n // await someThing();\r\n}","TestCases":[{"Name":"Single .closest() with multiple classes, no match","Code":"one.closest(\u0027.apple, .banana, .coconut, .dragonfruit, .eggplant, .fig, .grape\u0027);","IsDeferred":false},{"Name":"Loop through classes, no match","Code":"[\u0027.apple\u0027, \u0027.banana\u0027, \u0027.coconut\u0027, \u0027.dragonfruit\u0027, \u0027.eggplant\u0027, \u0027.fig\u0027, \u0027.grape\u0027].some((className) =\u003E one.closest(className));","IsDeferred":false},{"Name":"Single .closest() with multiple classes, no match (plus 3 classes)","Code":"one.closest(\u0027.apple, .banana, .coconut, .dragonfruit, .eggplant, .fig, .grape, .extra1, .extra2, .extra3\u0027);","IsDeferred":false},{"Name":"Loop through classes, no match (plus 3 classes)","Code":"[\u0027.apple\u0027, \u0027.banana\u0027, \u0027.coconut\u0027, \u0027.dragonfruit\u0027, \u0027.eggplant\u0027, \u0027.fig\u0027, \u0027.grape\u0027, \u0027.extra1\u0027, \u0027.extra2\u0027, \u0027.extra3\u0027].some((className) =\u003E one.closest(className));","IsDeferred":false}]}