{"ScriptPreparationCode":" var arr = [];\r\n for (var i = 0; i \u003C 1000; i\u002B\u002B) {\r\n arr[i] = {\r\n \u0027id\u0027: i\r\n };\r\n }\r\n\r\n function someFn(i) {\r\n return i * 3 * 8;\r\n }","TestCases":[{"Name":"foreach","Code":"arr.forEach(function (item){\r\n item.data = someFn(item.id);\r\n})","IsDeferred":false},{"Name":"for","Code":"for (var i = 0, len = arr.length; i \u003C len; i\u002B\u002B) {\r\n arr[i].data = someFn(arr[i].id);\r\n}","IsDeferred":false},{"Name":"map","Code":"arr.map(function(item){ item.data=someFn(item.id); });","IsDeferred":false},{"Name":"filter","Code":"arr.filter(function(item){ item.data=someFn(item.id); });","IsDeferred":false}]}