{"ScriptPreparationCode":" var range = 10;\r\n \r\n function obj1() {\r\n return {\r\n data: 1,\r\n a: 0,\r\n b: 0,\r\n c: 0,\r\n fx: function() {\r\n this.a \u002B= this.data;\r\n this.b \u002B= this.data;\r\n this.c \u002B= this.data;\r\n },\r\n };\r\n}\r\n\r\nfunction obj2() {\r\n return {\r\n data: 1,\r\n a: 0,\r\n b: 0,\r\n c: 0,\r\n };\r\n}\r\n\r\nfunction fx(obj) {\r\n obj.a \u002B= obj.data;\r\n obj.b \u002B= obj.data;\r\n obj.c \u002B= obj.data;\r\n}\r\n\r\nvar arr1 = [];\r\nvar arr2 = [];\r\n\r\nfor (let i = 0; i \u003C range; i\u002B\u002B) {\r\n arr1.push(obj1()); \r\n}\r\nfor (let i = 0; i \u003C range; i\u002B\u002B) {\r\n arr2.push(obj2()); \r\n}","TestCases":[{"Name":"1","Code":"for (let i = 0; i \u003C range; i\u002B\u002B) {\r\n arr1[i].fx();\r\n}","IsDeferred":false},{"Name":"2","Code":"for (let i = 0; i \u003C range; i\u002B\u002B) {\r\n fx(arr2[i]);\r\n}","IsDeferred":false}]}