{"ScriptPreparationCode":null,"TestCases":[{"Name":"class","Code":"class ObjClass {\r\n constructor(name, age) {\r\n this.name = name\r\n this.age = age\r\n }\r\n getName() {\r\n return this.name\r\n }\r\n getAge() {\r\n return this.age\r\n }\r\n}\r\n\r\nconst objClass = new ObjClass(\u0022john\u0022, 42)\r\nobjClass.getName()\r\nobjClass.getAge()","IsDeferred":false},{"Name":"Object.create","Code":"const proto = {\r\n\tgetName() {\r\n \treturn this.name\r\n },\r\n\tgetAge() {\r\n\t\treturn this.age\r\n }\r\n}\r\n\r\nlet obj = Object.create(proto)\r\nobj.name = \u0022john\u0022\r\nobj.age = 42\r\nobj.getName()\r\nobj.getAge()","IsDeferred":false}]}