{"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":"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":"class 2","Code":"class Test {\r\n constructor(item) {\r\n\tarr.push(item);\r\n }\r\n}\r\nfor (let i = 1; i \u003C 10000; i\u002B\u002B) {\r\n new Test(i);\r\n}","IsDeferred":false},{"Name":"var 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":"let function expression","Code":"let 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":"const function expression","Code":"const 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}]}