{"ScriptPreparationCode":null,"TestCases":[{"Name":"nested loops","Code":"const array = [1, 2, 3, 4, 5, 1];\r\nlet flag = false\r\n const truth = () =\u003E {\r\n for (i = 0; i \u003C array.length ,!flag; i\u002B\u002B)\r\n for (j = 0; j \u003C array.length; j\u002B\u002B)\r\n array[i] == array[j] \u0026\u0026 (flag = true);\r\n };\r\n\r\n truth()","IsDeferred":false},{"Name":"set way","Code":"const array = [1, 2, 3, 4, 5, 1];\r\nconst truth = () =\u003E {\r\n let settedArray = new Set(array)\r\n return settedArray.size == array.length\r\n }\r\n\r\n truth()","IsDeferred":false}]}