{"ScriptPreparationCode":null,"TestCases":[{"Name":"for...of","Code":"let num = 0;\r\nconst functions = [\r\n () =\u003E Math.random() \u002B 10,\r\n () =\u003E Math.sqrt(Math.random() * 100),\r\n () =\u003E Math.floor(Math.random() * 50),\r\n () =\u003E Math.pow(Math.random(), 2),\r\n].map(i =\u003E i);\r\nfor (const fun of functions) {\r\n fun();\r\n num\u002B\u002B;\r\n};","IsDeferred":false},{"Name":"forEach","Code":"let num = 0;\r\nconst functions = [\r\n () =\u003E Math.random() \u002B 10,\r\n () =\u003E Math.sqrt(Math.random() * 100),\r\n () =\u003E Math.floor(Math.random() * 50),\r\n () =\u003E Math.pow(Math.random(), 2),\r\n].map(i =\u003E i);\r\nfunctions.forEach(fun =\u003E {\r\n fun();\r\n num\u002B\u002B;\r\n});","IsDeferred":false},{"Name":"for (C style)","Code":"let num = 0;\r\nconst functions = [\r\n () =\u003E Math.random() \u002B 10,\r\n () =\u003E Math.sqrt(Math.random() * 100),\r\n () =\u003E Math.floor(Math.random() * 50),\r\n () =\u003E Math.pow(Math.random(), 2),\r\n].map(i =\u003E i);\r\nfor (let i = 0; i \u003C functions.length; i\u002B\u002B) {\r\n functions[i]();\r\n num\u002B\u002B;\r\n};","IsDeferred":false}]}