{"ScriptPreparationCode":"var arr = [];","TestCases":[{"Name":"function declaration","Code":"function functionDeclaration(item) {\r\n arr.push(item);\r\n}\r\nfor (let i = 1; i \u003C 10000; i\u002B\u002B) {\r\n functionDeclaration(i);\r\n}","IsDeferred":false},{"Name":"function expression","Code":"var functionExpression = function(item) {\r\n arr.push(item);\r\n};\r\nfor (let i = 1; i \u003C 10000; i\u002B\u002B) {\r\n functionExpression(i);\r\n}","IsDeferred":false},{"Name":"class","Code":"class Test {\r\n constructor(item) {\r\n this.item = item;\r\n }\r\n addItem(){\r\n arr.push(this.item)\r\n }\r\n}\r\nfor (let i = 1; i \u003C 10000; i\u002B\u002B) {\r\n new Test(i).addItem();\r\n}","IsDeferred":false},{"Name":"arrow function","Code":"var functionExpression = (item) =\u003E {\r\n arr.push(item);\r\n};\r\nfor (let i = 1; i \u003C 10000; i\u002B\u002B) {\r\n functionExpression(i);\r\n}","IsDeferred":false}]}