{"ScriptPreparationCode":"var arrays = [\u0027date1\u0027, \u0027date2\u0027, \u0027date3\u0027, \u0027date4\u0027, \u0027date5\u0027, \u0027date6\u0027, \u0027date7\u0027, \u0027date8\u0027, \u0027date9\u0027, \u0027date10\u0027, \u0027date11\u0027, \u0027date12\u0027, \u0027date13\u0027, \u0027date14\u0027, \u0027date15\u0027],\r\n fullDates= \u0027date1date2date3date4date5date6date7date8date9date10date11date12date13date14date15\u0027,\r\n i =0,\r\n j = arrays.lenght,\r\n isThere = false,\r\n val = \u0027date8\u0027;\r\n\r\n","TestCases":[{"Name":"indexOf","Code":"isThere = fullDates.indexOf(val) \u003E= 0;","IsDeferred":false},{"Name":"Match","Code":"isThere = fullDates.match(val);","IsDeferred":false},{"Name":"For","Code":"for(i; i \u003C j; i\u002B\u002B) {\r\n if(arrays[i] === val) {\r\n isThere = true;\r\n breake;\r\n }\r\n}","IsDeferred":false}]}