{"ScriptPreparationCode":"function randomString(e) { \r\n e = e || 32;\r\n var t = \u0022ABCDEFGHJKMNPQRSTWXYZabcdefhijkmnprstwxyz2345678\u0022,\r\n a = t.length,\r\n n = \u0022\u0022;\r\n for (i = 0; i \u003C e; i\u002B\u002B) n \u002B= t.charAt(Math.floor(Math.random() * a));\r\n return n\r\n}\r\nvar str1 = randomString(100)\r\nvar str2 = randomString(100000)","TestCases":[{"Name":"slice-1","Code":"var result1 = Array.from(str1.slice(1, 3)).reduce(function (previousValue, currentValue, index, array) {\r\n return previousValue \u002B currentValue;\r\n})\r\nvar result2 = Array.from(str1.slice(4, 6)).reduce(function (previousValue, currentValue, index, array) {\r\n return previousValue \u002B currentValue;\r\n})\r\nvar result3 = Array.from(str1.slice(7, 10)).reduce(function (previousValue, currentValue, index, array) {\r\n return previousValue \u002B currentValue;\r\n})","IsDeferred":false},{"Name":"slice-2","Code":"var result1 = Array.from(str2.slice(1, 30000)).reduce(function (previousValue, currentValue, index, array) {\r\n return previousValue \u002B currentValue;\r\n})\r\nvar result2 = Array.from(str2.slice(28999, 69999)).reduce(function (previousValue, currentValue, index, array) {\r\n return previousValue \u002B currentValue;\r\n})\r\nvar result3 = Array.from(str2.slice(67000, 99999)).reduce(function (previousValue, currentValue, index, array) {\r\n return previousValue \u002B currentValue;\r\n})","IsDeferred":false}]}