{"ScriptPreparationCode":null,"TestCases":[{"Name":"bind","Code":"function fn1() {\r\n return 1 \u002B 1;\r\n}\r\n\r\nfunction fn2() {\r\n return 2 \u002B 2;\r\n}\r\n\r\nfunction fn3() {\r\n return 3 \u002B 3;\r\n}\r\n\r\nfunction fn4() {\r\n return 4 \u002B 4;\r\n}\r\n\r\nfunction createSomething() {\r\n return [fn1.bind(), fn2.bind(), fn3.bind(), fn4.bind()]\r\n}\r\n\r\nfor (let i = 0; i \u003C 100; i\u002B\u002B) {\r\n let [a, b, c, d] = createSomething();\r\n\r\n for (let j = 0; j \u003C 100; j\u002B\u002B) {\r\n a();\r\n b();\r\n c();\r\n d();\r\n }\r\n}","IsDeferred":false},{"Name":"closure","Code":"function createSomething() {\r\n\r\n function fn1() {\r\n return 1 \u002B 1;\r\n }\r\n\r\n function fn2() {\r\n return 2 \u002B 2;\r\n }\r\n\r\n function fn3() {\r\n return 3 \u002B 3;\r\n }\r\n\r\n function fn4() {\r\n return 4 \u002B 4;\r\n }\r\n\r\n return [fn1, fn2, fn3, fn4]\r\n}\r\n\r\nfor (let i = 0; i \u003C 100; i\u002B\u002B) {\r\n let [a, b, c, d] = createSomething();\r\n for (let j = 0; j \u003C 100; j\u002B\u002B) {\r\n a();\r\n b();\r\n c();\r\n d();\r\n }\r\n}","IsDeferred":false}]}