{"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() {\r\n this.arr = [];\r\n }\r\n addItem(item){\r\n this.arr.push(item)\r\n }\r\n}\r\nconst test = new Test();\r\nfor (let i = 1; i \u003C 10000; i\u002B\u002B) {\r\n test.addItem(i);\r\n}","IsDeferred":false}]}