{"ScriptPreparationCode":"var N = 10000;\r\nvar xs = Array.from(Array(N).keys())\r\nvar ys = xs.map((x) =\u003E (x \u002B 3) * 0.89 - 16)\r\n\r\nfunction normalFunction(a, b) {\r\n return Math.sqrt(a ** 2 \u002B b ** 2)\r\n}\r\n\r\nvar arrowFunction = (a, b) =\u003E Math.sqrt(a ** 2 \u002B b ** 2);","TestCases":[{"Name":"No function","Code":"var res = new Array(N)\r\nfor (let i = 0; i \u003C N; i\u002B\u002B) {\r\n res[i] = Math.sqrt(xs[i]**2 \u002B ys[i]**2)\r\n}","IsDeferred":false},{"Name":"With normal function","Code":"var res = new Array(N)\r\nfor (let i = 0; i \u003C N; i\u002B\u002B) {\r\n res[i] = normalFunction(xs[i], ys[i])\r\n}","IsDeferred":false},{"Name":"With arrow function","Code":"var res = new Array(N)\r\nfor (let i = 0; i \u003C N; i\u002B\u002B) {\r\n res[i] = arrowFunction(xs[i], ys[i])\r\n}","IsDeferred":false}]}