{"ScriptPreparationCode":"var xys = Array.from({length: 5000}, () =\u003E Math.random() * 500 | 0)","TestCases":[{"Name":"with Math","Code":"const xs = xys.filter((v,i) =\u003E i%2 === 0)\r\nconst ys = xys.filter((v,i) =\u003E i%2 === 1)\r\nconst dim = [Math.min.apply(null,xs), Math.min.apply(null,ys), Math.max.apply(null,xs), Math.max.apply(null,ys)]","IsDeferred":false},{"Name":"with for","Code":"const dim = [0, 0, Infinity, Infinity]\r\nfor(let i = 0; i \u003C xys.length; i\u002B=2){\r\n const x = xys[i], y = xys[i\u002B1]\r\n x \u003C dim[0] \u0026\u0026 (dim[0] = x)\r\n y \u003C dim[1] \u0026\u0026 (dim[1] = y)\r\n x \u003E dim[2] \u0026\u0026 (dim[2] = x)\r\n y \u003E dim[3] \u0026\u0026 (dim[3] = y)\r\n}","IsDeferred":false}]}