{"ScriptPreparationCode":"var values = new Array(5000);\r\n\r\nfor (let i = 0; i \u003C values.length; \u002B\u002Bi) {\r\n values[i] = i % 20;\r\n}","TestCases":[{"Name":"Math.max","Code":"return Math.max(...values);","IsDeferred":false},{"Name":"other","Code":"const arr = values;\r\nlet max = -Infinity;\r\nlet min = Infinity;\r\nlet len = arr.length;\r\n\r\nwhile (len--) {\r\n const val = arr[len];\r\n max = val \u003E max ? val : max;\r\n min = val \u003C min ? val : min;\r\n}\r\n\r\nreturn { min, max };","IsDeferred":false}]}