{"ScriptPreparationCode":null,"TestCases":[{"Name":"es6","Code":"const essix = (arg) =\u003E [...arg].reverse().join(\u0027\u0027) === arg\r\n\r\nessix(\u0027kajak\u0027)\r\nessix(\u0027telefon\u0027)","IsDeferred":false},{"Name":"loop","Code":"const looped = (arg) =\u003E {\r\n let flag = true;\r\n for (let i=0; i\u003C=arg.length/2; i\u002B\u002B) {\r\n if (arg.charAt(i) !== arg.charAt(arg.length-i-1)) {\r\n flag = false;\r\n break;}\r\n\t}\r\n return flag;\r\n}\r\n\r\nlooped(\u0027kajak\u0027)\r\nlooped(\u0027telefon\u0027)","IsDeferred":false}]}