{"ScriptPreparationCode":null,"TestCases":[{"Name":"class","Code":"class A {\r\n a() {\r\n return { a: 1 };\r\n }\r\n a1() {\r\n return { a: 1 };\r\n }\r\n a2() {\r\n return { a: 1 };\r\n }\r\n a3() {\r\n return { a: 1 };\r\n }\r\n a4() {\r\n return { a: 1 };\r\n }\r\n a5() {\r\n return { a: 1 };\r\n }\r\n}\r\n\r\nclass B {\r\n constructor(a) {\r\n \tthis.a = new A();\r\n }\r\n a() {\r\n return this.a.a();\r\n }\r\n a1() {\r\n return this.a.a1();\r\n }\r\n a2() {\r\n return this.a.a2();\r\n }\r\n}\r\n\r\nclass C {\r\n constructor(a) {\r\n \tthis.a = new A();\r\n }\r\n a3() {\r\n return this.a.a3();\r\n }\r\n a4() {\r\n return this.a.a4();\r\n }\r\n a5() {\r\n return this.a.a5();\r\n }\r\n}\r\n// var a = new A();\r\nvar b = new B();\r\nvar c = new C();\r\nconsole.log(\u0027class\u0027, b.a.a === c.a.a);","IsDeferred":false},{"Name":"function","Code":"\r\n\r\nar = () =\u003E ({\r\n a() {\r\n return { a: 1 };\r\n }\r\n})\r\nar1 = () =\u003E ({\r\n a1() {\r\n return { a: 1 };\r\n }\r\n})\r\nar2 = () =\u003E ({\r\n a2() {\r\n return { a: 1 };\r\n }\r\n})\r\nar3 = () =\u003E ({\r\n a3() {\r\n return { a: 1 };\r\n }\r\n})\r\nar4 = () =\u003E ({\r\n a4() {\r\n return { a: 1 };\r\n }\r\n})\r\nar5 = () =\u003E ({\r\n a5() {\r\n return { a: 1 };\r\n }\r\n})\r\n\r\nfunction B1() {\r\n return Object.assign({}, ar(), ar1(), ar2());\r\n}\r\n\r\nfunction C1() {\r\n return Object.assign({}, ar(), ar4(), ar5());\r\n}\r\n\r\nvar b = B1();\r\nvar c = C1();\r\nconsole.log(\u0027function\u0027, b.a === c.a);","IsDeferred":false}]}