{"ScriptPreparationCode":"arr = [];\r\nfor (let i = 0; i \u003C 12345; i\u002B\u002B) {\r\n arr[i] = ({ id: i });\r\n}\r\n\r\nfunction someFn(i) {\r\n return (i * 3 * 8 / 1200 * 0.002 / 40 * 0.2);\r\n}\r\n\r\nsumForEachFilter = 0\r\nsumForEach = 0","TestCases":[{"Name":"filter \u002B forEach","Code":"arr.filter((i) =\u003E \u0027id\u0027 in i).forEach(({ id }) =\u003E { sumForEachFilter \u002B= someFn(id); })","IsDeferred":false},{"Name":"forEach \u002B if","Code":"arr.forEach((i) =\u003E { if(\u0027id\u0027 in i) { sumForEach \u002B= someFn(i.id); } })","IsDeferred":false}]}