{"ScriptPreparationCode":"function activeElementIsImportant1() {\r\n let activeElement = \u0022someString\u0022;\r\n if (activeElement == \u0027someString11\u0027\r\n || activeElement == \u0027123\u0027\r\n || activeElement == \u0027qeqw\u0027\r\n || activeElement == \u0027qwewqdadas\u0027\r\n || activeElement == \u0027someString1\u0027\r\n || activeElement == \u0027someString12\u0027\r\n || activeElement == \u0027asdqwwqd\u0027\r\n || activeElement == \u0027asdadqw\u0027\r\n || activeElement == \u0027xzczxaq\u0027\r\n || activeElement == \u0027zxczx\u0027\r\n || activeElement == \u002712321\u0027\r\n || activeElement == \u0027qwewq\u0027\r\n || activeElement == \u0027asdasdasdsa\u0027\r\n || activeElement == \u0027czxcz\u0027\r\n || activeElement == \u0027vbvbvb\u0027\r\n || activeElement == \u0027wwww\u0027\r\n || activeElement == \u0027121\u0027\r\n || activeElement == \u002712321312\u0027\r\n || activeElement == \u0027zxzxzxzxzxzx\u0027\r\n || activeElement == \u00273333\u0027) {\r\n return true;\r\n } else {\r\n return false;\r\n };\r\n };\r\n\r\nconst compareArray = [\u0027someString11\u0027,\r\n \u0027123\u0027,\r\n \u0027qeqw\u0027,\r\n \u0027qwewqdadas\u0027,\r\n \u0027someString1\u0027,\r\n \u0027someString12\u0027,\r\n \u0027asdqwwqd\u0027,\r\n \u0027asdadqw\u0027,\r\n \u0027xzczxaq\u0027,\r\n \u0027zxczx\u0027,\r\n \u002712321\u0027,\r\n \u0027qwewq\u0027,\r\n \u0027asdasdasdsa\u0027,\r\n \u0027czxcz\u0027,\r\n \u0027vbvbvb\u0027,\r\n \u0027wwww\u0027,\r\n \u0027121\u0027,\r\n \u002712321312\u0027,\r\n \u0027zxzxzxzxzxzx\u0027,\r\n \u00273333\u0027];\r\n\r\nfunction activeElementIsImportant2() {\r\n if (compareArray.includes(\u0022someString\u0022)) {\r\n return true;\r\n } else {\r\n return false;\r\n };\r\n };\r\n\r\nconst lookup = new Map([\r\n [\u0027someString11\u0027],\r\n [\u0027123\u0027],\r\n [\u0027qeqw\u0027],\r\n [\u0027qwewqdadas\u0027],\r\n [\u0027someString1\u0027],\r\n [\u0027someString12\u0027],\r\n [\u0027asdqwwqd\u0027],\r\n [\u0027asdadqw\u0027],\r\n [\u0027xzczxaq\u0027],\r\n [\u0027zxczx\u0027],\r\n [\u002712321\u0027],\r\n [\u0027qwewq\u0027],\r\n [\u0027asdasdasdsa\u0027],\r\n [\u0027czxcz\u0027],\r\n [\u0027vbvbvb\u0027],\r\n [\u0027wwww\u0027],\r\n [\u0027121\u0027],\r\n [\u002712321312\u0027],\r\n [\u0027zxzxzxzxzxzx\u0027],\r\n [\u00273333\u0027]\r\n ]);\r\nfunction activeElementIsImportant3() {\r\n if (lookup.has(\u0022someString\u0022)) {\r\n return true;\r\n } else {\r\n return false;\r\n };\r\n };","TestCases":[{"Name":"mass compare","Code":"let k = activeElementIsImportant1();","IsDeferred":false},{"Name":"array test","Code":"let k = activeElementIsImportant2();","IsDeferred":false},{"Name":"lookup table","Code":"let k = activeElementIsImportant3();","IsDeferred":false}]}